2017-12-21 00:45:38 +01:00
|
|
|
/*
|
2022-03-04 16:23:43 +00:00
|
|
|
* Copyright (C) 2018-2022 Intel Corporation
|
2017-12-21 00:45:38 +01:00
|
|
|
*
|
2018-09-18 09:11:08 +02:00
|
|
|
* SPDX-License-Identifier: MIT
|
2017-12-21 00:45:38 +01:00
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
2019-02-27 11:39:32 +01:00
|
|
|
|
2017-12-21 00:45:38 +01:00
|
|
|
#include <cstdint>
|
|
|
|
|
|
2019-03-26 11:59:46 +01:00
|
|
|
namespace NEO {
|
2022-05-17 19:04:23 +00:00
|
|
|
using FlushStamp = uint64_t;
|
2017-12-21 00:45:38 +01:00
|
|
|
struct CompletionStamp {
|
|
|
|
|
uint32_t taskCount;
|
|
|
|
|
uint32_t taskLevel;
|
|
|
|
|
FlushStamp flushStamp;
|
2020-01-23 11:57:37 +01:00
|
|
|
|
2021-10-22 16:20:36 +00:00
|
|
|
static constexpr uint32_t notReady = 0xFFFFFFF0;
|
2022-03-04 16:23:43 +00:00
|
|
|
static constexpr uint32_t gpuHang = 0xFFFFFFFA;
|
2022-11-04 13:57:42 +00:00
|
|
|
static constexpr uint32_t outOfDeviceMemory = 0xFFFFFFFB;
|
|
|
|
|
static constexpr uint32_t outOfHostMemory = 0xFFFFFFFC;
|
2017-12-21 00:45:38 +01:00
|
|
|
};
|
2020-01-23 11:57:37 +01:00
|
|
|
|
2019-03-26 11:59:46 +01:00
|
|
|
} // namespace NEO
|