Added void to kernel snippets
This commit is contained in:
parent
19f33d0f7b
commit
88b95f6526
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue