Silence implicity conversion warnings in exception handling
Silence unnamed enum warning in error code comparison Change-Id: I008b269c106bbad83a1f7588e7b4ec89ec17d37d
Esse commit está contido em:
@@ -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;
|
||||
}
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário