Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File and line number or macro layer in care/util.h? #104

Open
adayton1 opened this issue Jan 11, 2021 · 0 comments
Open

File and line number or macro layer in care/util.h? #104

adayton1 opened this issue Jan 11, 2021 · 0 comments

Comments

@adayton1
Copy link
Member

Some of the functions in care/util.h take a file and line number so if there is a GPU API error code returned, we can print out the file and line number of the calling location. Should all the functions take a file and line number? Do we want to provide a macro layer that injects the file and line number for users? Do we want to wait until c++ 20 when source_location becomes a thing (https://en.cppreference.com/w/cpp/utility/source_location)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant