CUDA程序员们,节日快乐!

2023-01-04 21:03:53 浏览数 (1)

代码语言:javascript复制
#include<stdio.h>

__global__ void happy()
{
    printf("Programmers of all lands! Happy 1024n");
}

int main()
{
    happy<<<1,1024>>>();
    cudaStreamSynchronize(NULL);
    return (!1024);
}

0 人点赞