Silence implicity conversion warnings in exception handling
Silence unnamed enum warning in error code comparison Change-Id: I008b269c106bbad83a1f7588e7b4ec89ec17d37d
Dieser Commit ist enthalten in:
committet von
David Yat Sin
Ursprung
42274cfc59
Commit
0d14144e3a
@@ -1062,7 +1062,7 @@ bool AqlQueue::ExceptionHandler(hsa_signal_value_t error_code, void* arg) {
|
||||
|
||||
// Suppress VM fault reporting. This is more useful when reported through the system error
|
||||
// handler.
|
||||
if (errorCode == HSA_STATUS_ERROR_MEMORY_FAULT) {
|
||||
if (errorCode == static_cast<hsa_status_t>(HSA_STATUS_ERROR_MEMORY_FAULT)) {
|
||||
debug_print("Queue error - HSA_STATUS_ERROR_MEMORY_FAULT\n");
|
||||
return false;
|
||||
}
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren