mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 00:24:58 +08:00
This change makes that drm file is opened in nonblocking mode for prelim kernels. In such case when calling exec buffer ioctl and get EAGAIN (aka EWOULDBLOCK) we may return error to API level Related-To: NEO-7144 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
23 lines
320 B
C++
23 lines
320 B
C++
/*
|
|
* Copyright (C) 2019-2022 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include <cstdint>
|
|
|
|
namespace NEO {
|
|
|
|
enum class SubmissionStatus : uint32_t {
|
|
SUCCESS = 0,
|
|
FAILED,
|
|
OUT_OF_MEMORY,
|
|
OUT_OF_HOST_MEMORY,
|
|
UNSUPPORTED,
|
|
DEVICE_UNINITIALIZED,
|
|
};
|
|
|
|
} // namespace NEO
|