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.