Files
compute-runtime/shared/source/helpers/completion_stamp.h
Patryk Wrobel 4cde6ea1ce Detect GPU hangs in CommandMapUnmap::submit()
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>
2022-03-15 13:17:41 +01:00

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