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

Gettings warnings about lock_guard's being defined but unused in doctest #95

Open
eyalroz opened this issue Sep 1, 2021 · 0 comments
Open
Assignees
Labels

Comments

@eyalroz
Copy link
Owner

eyalroz commented Sep 1, 2021

Some versions of NVCC complain about unused lock_guard's. Perhaps they do nothing on the device side? Perhaps it's an NVCC bug?

At any rate, we can overcome this issue with old-style casting-to-void, i.e. (void) lock in many places in doctest.h.

@eyalroz eyalroz self-assigned this Sep 1, 2021
@eyalroz eyalroz added the Task label Sep 1, 2021
eyalroz added a commit that referenced this issue Sep 1, 2021
…rious warning about the locks being unused.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant