Files
compute-runtime/shared/source/command_stream/wait_status.h
Lukasz Jobczyk a230f267e1 Poll task count indefinitely on high throttle command queue
Resolves: NEO-6781

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-03-25 10:06:16 +01:00

26 lines
358 B
C++

/*
* Copyright (C) 2018-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include <cstdint>
namespace NEO {
enum class WaitStatus {
NotReady = 0,
Ready = 1,
GpuHang = 2,
};
struct WaitParams {
bool indefinitelyPoll = false;
bool enableTimeout = false;
int64_t waitTimeout = 0;
};
} // namespace NEO