mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 00:24:58 +08:00
Change-Id: If4763dcb749acc8a6fd68714119808286306410f Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
27 lines
639 B
C++
27 lines
639 B
C++
/*
|
|
* Copyright (C) 2018-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "engine_node.h"
|
|
|
|
namespace NEO {
|
|
class CommandStreamReceiver;
|
|
class OsContext;
|
|
|
|
struct EngineControl {
|
|
EngineControl() = default;
|
|
EngineControl(CommandStreamReceiver *commandStreamReceiver, OsContext *osContext)
|
|
: commandStreamReceiver(commandStreamReceiver),
|
|
osContext(osContext),
|
|
engineType(aub_stream::EngineType::ENGINE_RCS){};
|
|
|
|
CommandStreamReceiver *commandStreamReceiver = nullptr;
|
|
OsContext *osContext = nullptr;
|
|
aub_stream::EngineType engineType;
|
|
};
|
|
} // namespace NEO
|