Silence implicity conversion warnings in exception handling
Silence unnamed enum warning in error code comparison
Change-Id: I008b269c106bbad83a1f7588e7b4ec89ec17d37d
[ROCm/ROCR-Runtime commit: 0d14144e3a]
Этот коммит содержится в:
коммит произвёл
David Yat Sin
родитель
a29b3ab868
Коммит
8e16b26347
@@ -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;
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user