mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00

This change introduces checking of the return value of wait function in case of blocking version of evictUnusedAllocations(). Furthermore, it propagates the error to the callers. It contains also ULTs. Related-To: NEO-6681 Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
24 lines
364 B
C++
24 lines
364 B
C++
/*
|
|
* Copyright (C) 2019-2022 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include <cstdint>
|
|
|
|
namespace NEO {
|
|
|
|
enum class MemoryOperationsStatus : uint32_t {
|
|
SUCCESS = 0,
|
|
FAILED,
|
|
MEMORY_NOT_FOUND,
|
|
OUT_OF_MEMORY,
|
|
UNSUPPORTED,
|
|
DEVICE_UNINITIALIZED,
|
|
GPU_HANG_DETECTED_DURING_OPERATION,
|
|
};
|
|
|
|
} // namespace NEO
|