I am getting the error
<code>cudafe++ died with status 0xc0000409
</code>
<code>cudafe++ died with status 0xc0000409
</code>
cudafe++ died with status 0xc0000409
when I switch nvcc
from using c++17
to c++20
through std
flag. All compiles and works as expected with 17 but in the moment i switch to c++20
my compilation fails with the cryptic error.
I am running:
- CUDA Toolkit v12.5
- MVSC 17.10.1
Compiling host code with c++20
and passing c++17
flag to nvcc
also works and all my unit tests pass but somehow in the moment I switch the nvcc
flag, compilation crashes.
Any possible explanation for this behavior? Anyone experienced something similar before and could guide me in a direction.
Thanks a lot for your help in advance!
P.S.:
- no heavy use of templates, basically just to switch loops on and off
- no fancy options passed to
nvcc
also disabled them to see if they are causing issues - i do a clean build in between the attempts and delete any cached files