Error compiling cuFFTDx code: ‘cudafe++’ died with status 0xC0000409

NVIDIA gurus,
I’m trying to compile the introduction_example.cu code that’s included in the cuFFTDx library download and getting the below compilation error. Am I missing something?

I’m running:

  • Windows 10
  • CUDA Toolkit v12.5 (cuda_12.5.1_555.85_windows)
  • nvidia-mathdx-24.08.0
  • Visual Studio 2022 Community 17.11.4

“C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.5\bin\nvcc.exe” -std=c++17 -Xcompiler “/std:c++17” -Xcompiler “/Zc:__cplusplus” -Xcompiler “/ZW” -arch sm_75 -O3 -I"C:/nvidia-mathdx-24.08.0/nvidia/mathdx/24.08/include" -I"C:/nvidia-mathdx-24.08.0/nvidia/mathdx/24.08/external/cutlass/include" C:\nvidia-mathdx-24.08.0\nvidia\mathdx\24.08\example\cufftdx\introduction_example.cu -o C:\nvidia-mathdx-24.08.0\nvidia\mathdx\24.08\example\cufftdx\introduction_example
introduction_example.cu
Compilation aborted.
nvcc error : ‘cudafe++’ died with status 0xC0000409

try switching to the latest CUDA toolkit available, currently 12.6.1. This sort of issue may be a result of using the latest versions of VS, 17.10 or higher, see here.

Another option would be to use nvrtc sample, if compiler cannot be upgraded. We’ll check this error internally.