mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 05:56:36 +08:00
Propagate exec buffer error to L0 API level
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>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5c48e027b9
commit
9a95f3c62d
@@ -1116,6 +1116,9 @@ ze_result_t CommandQueueHw<gfxCoreFamily>::handleSubmissionAndCompletionResults(
|
||||
if (submitRet == NEO::SubmissionStatus::OUT_OF_MEMORY) {
|
||||
completionRet = ZE_RESULT_ERROR_OUT_OF_DEVICE_MEMORY;
|
||||
}
|
||||
if (submitRet == NEO::SubmissionStatus::OUT_OF_HOST_MEMORY) {
|
||||
completionRet = ZE_RESULT_ERROR_OUT_OF_HOST_MEMORY;
|
||||
}
|
||||
}
|
||||
|
||||
return completionRet;
|
||||
|
||||
Reference in New Issue
Block a user