2015年7月11日

CUDA Thread Indexing

摘要: 1D grid of 1D blocks__device__ int getGlobalIdx_1D_1D(){return blockIdx.x *blockDim.x + threadIdx.x;}1D grid of 2D blocks__device__ int getGlobalIdx_1... 阅读全文

posted @ 2015-07-11 18:59 袁军峰 阅读(287) 评论(0) 推荐(0)

导航