diff --git a/vim/.vim/snippets/cuda.snippets b/vim/.vim/snippets/cuda.snippets index 79bcb1d..fa15c9f 100644 --- a/vim/.vim/snippets/cuda.snippets +++ b/vim/.vim/snippets/cuda.snippets @@ -119,11 +119,11 @@ snippet cudaMalloc snippet malloc (${1:int}*)malloc(sizeof(${1})*${2:size}) snippet __g - __global__ ${1:kernel}(${2:params}) { + __global__ void ${1:kernel}(${2:params}) { ${3} } snippet __d - __device__ ${1:kernel}(${2:params}) { + __device__ void ${1:kernel}(${2:params}) { ${3} } snippet idx