提交 26a73e48 编写于 作者: L liaogang

update code

上级 ed5bcfe8
......@@ -7,7 +7,7 @@
fprintf(stderr,"%s in %s at line %d\n", \
cudaGetErrorString(err),__FILE__,__LINE__); \
exit(-1); \
} \
}
__global__ void vecAdd (float* d_A, float* d_B, float* d_C, int n) {
int i = blockDim.x * blockIdx.x + threadIdx.x;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册