CUDA Runtime_160910
Last update 2016/09/10 09:10
CUDA 7.5 Runtimeコードで使っている機能
threadIdx.x
参考1:
参考2:
cudaError_t
cudaDeviceReset()
cudaSetDevice(0)
1つ目のGPUを選択
cudaMalloc()
cudaMemcpy()
addKernel<<<1, size>>>
(dev_c, dev_a, dev_b)
cudaGetLastError()
cudaDeviceSynchronize()
waits for the kernel to finish
cudaFree()

Created using MindMup.com