Hello, I was following the steps in the following tutorial:
http://code.msdn.microsoft.com/windowsdesktop/CUDA-50-and-Visual-Studio-20e71aa1
but I get still syntax errors. After including <device_launch_parameters.h> I dont get an error for global anymore but still a syntax error for <<< and an error for threadIdx. Whats wrong with my CUDA 5 installation?
Here is the code:
include
include <cuda_runtime.h>
include <cuda.h>
include <device_launch_parameters.h>
global void kernel( void ){
}
int main( void ){
kernel<<<1,1>>>();
printf(“Hello, World!\n”);
return 0;
}