ensure the condition is evaluated before applying the negation operator
[ROCm/clr commit: bf6a3f4294]
Dieser Commit ist enthalten in:
1 Ursprung
002a7a1b48
Commit
063dae2c46
1 Datei geändert
+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
|
||||
|
||||
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren