From 88b95f65266af173e2df4b05d523578f2cc55027 Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Thu, 15 Oct 2015 12:35:29 +0200 Subject: [PATCH] Added void to kernel snippets --- vim/.vim/snippets/cuda.snippets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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