I am a beginner with Cuda, so I am trying to run an example.
But when I try to compile the cuda file, I have this error:
nvcc -c *.cu -I. -I/Developer/NVIDIA/CUDA-5.0/include/ In file included from /Developer/NVIDIA/CUDA-5.0/include/cuda_runtime.h:59:0, from <command-line>:0: /Developer/NVIDIA/CUDA-5.0/include/host_config.h:82:2: error: #error -- unsupported GNU version! gcc 4.7 and up are not supported! kernel_code.cu:9:26: fatal error: cutil_inline.h: No such file or directory compilation terminated.
It seems that gcc 4.7 and upper are not supported.
Is that normal?
If yes, what is the most recent version supported?