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
CUDA compilation: Strange warning about whitespace after macro name #2606
Comments
It complains about something that is given via |
That is a good point! We set various macros using cmake so it might not necessarily be set explicitly on the command line. Still, this is valuable and I will look into it. |
@Rombur: @bangerth is correct, compiling anything with nvcc or regular gcc and defining an invalid macro such as this:
gives
or if
I will continuing investigating this. |
Okay, I managed to track it down to some commands generated by CMake within FindCUDA. The problematic macro is |
This warning is obtained when compiling Deal.II with CUDA enabled.
For some reason, the context of the warning, i.e. which file this is caused by, is missing. However, it appears after compilation of CUDA code so it is related to that.
The text was updated successfully, but these errors were encountered: