mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 10:17:01 +08:00
fix: missed error handler of SubmissionStatus::FAILED
Related-To: NEO-7802 Signed-off-by: Pan Zhenjie <zhenjie.pan@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9f935276a0
commit
00b675643e
@@ -75,6 +75,7 @@ CommandQueue *CommandQueue::create(Context *context,
|
||||
|
||||
cl_int CommandQueue::getErrorCodeFromTaskCount(TaskCountType taskCount) {
|
||||
switch (taskCount) {
|
||||
case CompletionStamp::failed:
|
||||
case CompletionStamp::gpuHang:
|
||||
case CompletionStamp::outOfDeviceMemory:
|
||||
return CL_OUT_OF_RESOURCES;
|
||||
|
||||
Reference in New Issue
Block a user