kangtian0

2017年8月6日 #

CUDA 计算线程索引的一般公式

摘要: CUDA thread index: int blockId = blockIdx.z * (gridDim.x*gridDim.y) + blockIdx.y * gridDim.x + blockIdx.x; int threadId = blockId * (blockDim.x * bloc 阅读全文

posted @ 2017-08-06 22:04 kangtian0 阅读(700) 评论(0) 推荐(0)

导航