//转自:CUDA by Example
//hello.cu modify by lance 2012.06.23
#include <stdio.h>
__global__ void kernel(void)
{
}
int main()
{
kernel<<<1, 1>>>();
printf("Hello, world!\n");
return 0;
}
//转自:CUDA by Example
//hello.cu modify by lance 2012.06.23
#include <stdio.h>