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:
Zhenjie Pan
2023-03-13 02:56:47 +00:00
committed by Compute-Runtime-Automation
parent 9f935276a0
commit 00b675643e
5 changed files with 25 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ struct CompletionStamp {
FlushStamp flushStamp;
static constexpr TaskCountType notReady = std::numeric_limits<TaskCountType>::max() - 0xF;
static constexpr TaskCountType failed = std::numeric_limits<TaskCountType>::max() - 0x6;
static constexpr TaskCountType gpuHang = std::numeric_limits<TaskCountType>::max() - 0x5;
static constexpr TaskCountType outOfDeviceMemory = std::numeric_limits<TaskCountType>::max() - 0x4;
static constexpr TaskCountType outOfHostMemory = std::numeric_limits<TaskCountType>::max() - 0x3;