From d3e5031ddcde4014ca522c28eab0655aca72bcc2 Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Thu, 15 Oct 2015 22:49:48 +0200 Subject: [PATCH] Added new cuda snippet for kernel call --- vim/.vim/snippets/cuda.snippets | 4 ++++ 1 file changed, 4 insertions(+) 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());