Hello, I was following the steps in the following tutorial:
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;
}