mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
refactor: correct naming of enum class constants 6/n
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
b802ebf7b7
commit
739d181026
@@ -213,7 +213,7 @@ int BufferObject::exec(uint32_t used, size_t startOffset, unsigned int flags, bo
|
||||
|
||||
if (ret != 0) {
|
||||
const auto status = evictUnusedAllocations(true, true);
|
||||
if (status == MemoryOperationsStatus::GPU_HANG_DETECTED_DURING_OPERATION) {
|
||||
if (status == MemoryOperationsStatus::gpuHangDetectedDuringOperation) {
|
||||
PRINT_DEBUG_STRING(debugManager.flags.PrintDebugMessages.get(), stderr, "Error! GPU hang detected in BufferObject::exec(). Returning %d\n", gpuHangDetected);
|
||||
return gpuHangDetected;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user