diff --git a/vim/.vim/snippets/cuda.snippets b/vim/.vim/snippets/cuda.snippets index fa15c9f..e7a460d 100644 --- a/vim/.vim/snippets/cuda.snippets +++ b/vim/.vim/snippets/cuda.snippets @@ -131,3 +131,7 @@ snippet idx snippet idy int idy=blockIdx.y*blockDim.y+threadIdx.y; + +snippet <<< + ${1:kernel}<<<${2:blocks},${3:threads}>>>(${4:params}); + ERRCHECK(cudaGetLastError());