2009-10-11から1日間の記事一覧

並列計算の仕組み事始め

CUDAのHost codeに以下のような記述がある。 dim3 grid(size_x / BLOCK_DIM, size_y / BLOCK_DIM, 1); dim3 threads(BLOCK_DIM, BLOCK_DIM, 1); transpose<<< grid, threads >>>(d_odata, d_idata, size_x, size_y); grid, threads,BLOCKについて GPUとGrid …