mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Resolves: NEO-8089 Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
24 lines
492 B
C++
24 lines
492 B
C++
/*
|
|
* Copyright (C) 2021-2024 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "shared/source/command_stream/preemption.h"
|
|
|
|
namespace NEO {
|
|
class Kernel;
|
|
class Device;
|
|
class Context;
|
|
struct MultiDispatchInfo;
|
|
|
|
class ClPreemptionHelper {
|
|
public:
|
|
static PreemptionMode taskPreemptionMode(Device &device, const MultiDispatchInfo &multiDispatchInfo);
|
|
static void overrideMidThreadPreemptionSupport(Context &context, bool value);
|
|
};
|
|
|
|
} // namespace NEO
|