Compilation error Compilation crashes with no explanation of the error !

Hello,

I have been working on CUDA programs for five months. I work with VS and all my programs are compiling and working fine… except one, which compilation crashes !

The problem is that I have no explicit error message, I have just this :

I don’t know how to debug this ! If someone has an idea, I’ll be very grateful !

I guess the tool is NVCC. Maybe you didnt add all necessary CUDA folders to the PATH variables? At least it looks like a compiler error so NVCC might not find some file. But could also be because of trying to compile in 64 bits without a matching compiler/CUDA.

I guess the tool is NVCC. Maybe you didnt add all necessary CUDA folders to the PATH variables? At least it looks like a compiler error so NVCC might not find some file. But could also be because of trying to compile in 64 bits without a matching compiler/CUDA.

I have solved the error by adding -OPT:Olimit=99999 to nvcc’s compiling flags.
But I don’t know why I had to do this… External Image

I have solved the error by adding -OPT:Olimit=99999 to nvcc’s compiling flags.
But I don’t know why I had to do this… External Image

Woohooo never hear bout that. What does this flag do? Is it due to another cpp compiler?

Woohooo never hear bout that. What does this flag do? Is it due to another cpp compiler?