chundoong-lab-ta/APWS23/hello-world-skeleton/hello_world.cu

11 lines
180 B
Plaintext

#include <cstdio>
__global__ void hello_world() {
printf("Thread %d: Hello, World!\n", threadIdx.x);
}
int main() {
// TODO: Launch CUDA kernel and synchronize
return 0;
}