When I switch nvcc
from using c++17
to c++20
through std
flag, I get this error:
cudafe++ died with status 0xc0000409
All compiles and works as expected with 17, but when I switch to c++20
, my compilation fails with the cryptic error.
I am running:
Compiling host code with c++20
and passing c++17
flag to nvcc
also works, and all my unit tests pass, but somehow, when I switch the nvcc
flag, the compilation crashes.
What causes this behavior?
P.S.:
nvcc
also disabled them to see if they are causing issuesCUDA 12.5 Update 1 resolves the issue.