GGL update, add while 0 guard for hipLaunchKernel API
Change-Id: Ie48ef8ca2ab5e26a51febfcd92417902c33fbf66
[ROCm/clr commit: 49a38da6e3]
这个提交包含在:
1 父节点
d1c334df66
当前提交
9d6a04d334
1 个文件已更改
+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
|
||||
在新工单中引用
屏蔽一个用户