Added new cuda snippet for kernel call

This commit is contained in:
madmaurice 2015-10-15 22:49:48 +02:00
parent b6feef0682
commit d3e5031ddc

View file

@ -131,3 +131,7 @@ snippet idx
snippet idy snippet idy
int idy=blockIdx.y*blockDim.y+threadIdx.y; int idy=blockIdx.y*blockDim.y+threadIdx.y;
snippet <<<
${1:kernel}<<<${2:blocks},${3:threads}>>>(${4:params});
ERRCHECK(cudaGetLastError());