mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 17:29:14 +08:00
This change introduces detection of GPU hangs in CommandMapUnmap::submit() as well as in Event::submitCommand(). ULTs have been added to cover the new code. Related-To: NEO-6681 Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
24 lines
399 B
C++
24 lines
399 B
C++
/*
|
|
* Copyright (C) 2018-2022 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
namespace NEO {
|
|
typedef uint64_t FlushStamp;
|
|
struct CompletionStamp {
|
|
uint32_t taskCount;
|
|
uint32_t taskLevel;
|
|
FlushStamp flushStamp;
|
|
|
|
static constexpr uint32_t notReady = 0xFFFFFFF0;
|
|
static constexpr uint32_t gpuHang = 0xFFFFFFFA;
|
|
};
|
|
|
|
} // namespace NEO
|