CUDACOMPILE : nvcc error : 'cudafe++' died with status 0xC0000409

I can confirm the issue with VS 17.10.1 and also the workaround by @patrikhuber