Syntax error after Cuda installation.

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;
}

I don’t have VS 2012 installed to try that tutorial. If you have VS 2010, use that instead… it’ll work w/o any sort of changes. That simple code compiles fine on VS 2010 under CUDA 5.

My only suggestion is to make sure you followed all the steps.