hipLaunchKernel supports empty kernel with no arguments

Change-Id: Iaa46ced7fe0e3d72734d02250dfb48b98bef615d
This commit is contained in:
Maneesh Gupta
2016-06-17 14:11:46 +05:30
parent 2ab19ca505
commit 59c483aa16
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ typedef int hipLaunchParm ;
#define hipLaunchKernel(kernelName, numblocks, numthreads, memperblock, streamId, ...) \
do {\
kernelName<<<numblocks,numthreads,memperblock,streamId>>>(0, __VA_ARGS__);\
kernelName<<<numblocks,numthreads,memperblock,streamId>>>(0, ##__VA_ARGS__);\
} while(0)