CUDA学习笔记(1)数组求和

用最基本的一维线程格,一维线程块,16个线程。所以tid=threadIdx.x。ios #include "cuda_runtime.h" #include "device_launch_parameters.h" #include <stdio.h> #include "H:\cuda_by_example\common\book.h" #include "H:\cuda_by_examp
相关文章
相关标签/搜索