Files
compute-runtime/shared/source/memory_manager/memory_operations_status.h
Patryk Wrobel 352583b9d9 Detect GPU hang in evictUnusedAllocations()
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>
2022-04-13 15:39:02 +02:00

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