Added new cuda snippet for kernel call
This commit is contained in:
parent
b6feef0682
commit
d3e5031ddc
1 changed files with 4 additions and 0 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue