Added void to kernel snippets

This commit is contained in:
madmaurice 2015-10-15 12:35:29 +02:00
parent 19f33d0f7b
commit 88b95f6526

View file

@ -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