ensure the condition is evaluated before applying the negation operator
这个提交包含在:
1 父节点
794ea64e6e
当前提交
bf6a3f4294
1 个文件已更改
+1
-1
@@ -99,7 +99,7 @@ extern int HIP_TRACE_API;
|
||||
// TODO-HCC add a dummy implementation of assert, need to replace with a proper kernel exit call.
|
||||
#if __HIP_DEVICE_COMPILE__ == 1
|
||||
#undef assert
|
||||
#define assert(COND) { if (!COND) {abort();} }
|
||||
#define assert(COND) { if (!(COND)) {abort();} }
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户