GGL update, add while 0 guard for hipLaunchKernel API

Change-Id: Ie48ef8ca2ab5e26a51febfcd92417902c33fbf66
이 커밋은 다음에 포함됨:
Sun, Peng가 2017-04-06 10:48:11 -05:00를 커밋했습니다
1 부모 6dff2714e9
커밋 ad18bf3b29
1 파일이 변경됨
+11 -10
+11 -10
파일 보기
@@ -841,15 +841,16 @@ namespace hip_impl
group_mem_bytes,\
stream,\
...)\
{\
hipLaunchKernelGGL(\
kernel_name,\
num_blocks,\
dim_blocks,\
group_mem_bytes,\
stream,\
hipLaunchParm{},\
##__VA_ARGS__);\
}
do {\
hipLaunchKernelGGL(\
kernel_name,\
num_blocks,\
dim_blocks,\
group_mem_bytes,\
stream,\
hipLaunchParm{},\
##__VA_ARGS__);\
} while(0)
}
#endif //GENERIC_GRID_LAUNCH