Files
compute-runtime/shared/source/helpers/engine_control.h
Sebastian Luzynski 4bffae8254 Delete redundant code.
Change-Id: I0f7b41a62d28fe03e22f18f27c8de928d630da6a
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com>
2020-08-11 12:42:45 +02:00

27 lines
660 B
C++

/*
* Copyright (C) 2018-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "shared/source/os_interface/os_context.h"
#include "engine_node.h"
namespace NEO {
class CommandStreamReceiver;
struct EngineControl {
EngineControl() = default;
EngineControl(CommandStreamReceiver *commandStreamReceiver, OsContext *osContext)
: commandStreamReceiver(commandStreamReceiver),
osContext(osContext){};
CommandStreamReceiver *commandStreamReceiver = nullptr;
OsContext *osContext = nullptr;
aub_stream::EngineType &getEngineType() { return osContext->getEngineType(); }
};
} // namespace NEO