摘要: 编译命令:nvcc hello.cu -o hello 运行:./hello #include <stdio.h> __global__ void helloWorldKernel() { // 获取线程在 block 中的坐标 int tx = threadIdx.x; int ty = thre 阅读全文
posted @ 2025-05-13 23:35 aixueforever 阅读(21) 评论(0) 推荐(0)