Files
compute-runtime/shared/source/helpers/engine_control.h
Jaime Arteaga 4ca4100a9a Add support for queue groups (1/N)
Change-Id: If4763dcb749acc8a6fd68714119808286306410f
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-07-30 16:26:53 -07:00

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