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

Cannot compile kernels in debug mode for CUDA <= 11.6 #2035

Open
j-stephan opened this issue Jul 31, 2023 · 0 comments
Open

Cannot compile kernels in debug mode for CUDA <= 11.6 #2035

j-stephan opened this issue Jul 31, 2023 · 0 comments

Comments

@j-stephan
Copy link
Member

j-stephan commented Jul 31, 2023

While working on #1977 (which adds device-side debug flags) I discovered that CUDA <= 11.6 will fail to compile kernels in debug mode. Example (from here):

ptxas fatal   : Unresolved extern function '__cudaPushCallConfiguration'
make[2]: *** [example/helloWorld/CMakeFiles/helloWorld.dir/build.make:77: example/helloWorld/CMakeFiles/helloWorld.dir/src/helloWorld.cpp.o] Error 255
make[2]: Leaving directory '/builds/hzdr/crp/alpaka/build'
make[1]: *** [CMakeFiles/Makefile2:2018: example/helloWorld/CMakeFiles/helloWorld.dir/all] Error 2

The host compiler doesn't matter, this occurs across gcc and clang and for different versions of both. As this seems to be resolved for CUDA >= 11.7 this issue serves as documentation so we can link to something in our README.md.

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

No branches or pull requests

1 participant