Hi
I tried to run this code n Visual Studio 2010 but I am getting an error “This declaration has no storage class or type specifier”. Can anyone please help me to fix it?
#include
#include<cuda.h>
#include<stdio.h>
global void kernel (void)
{
}
int main(void)
{
kernel<<<1, 1>>>();
printf(“Hello World\n”);
getchar();
return 0;
}