mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
Cleaned up files: opencl/source/command_queue/csr_selection_args.h opencl/source/event/event.h shared/source/helpers/engine_control.h shared/source/sku_info/definitions/sku_info.h Related-To: NEO-5548 Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
32 lines
723 B
C++
32 lines
723 B
C++
/*
|
|
* Copyright (C) 2018-2023 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "shared/source/helpers/engine_node_helper.h"
|
|
|
|
namespace aub_stream {
|
|
enum EngineType : uint32_t;
|
|
}
|
|
|
|
namespace NEO {
|
|
class OsContext;
|
|
class CommandStreamReceiver;
|
|
|
|
struct EngineControl {
|
|
EngineControl() = default;
|
|
EngineControl(CommandStreamReceiver *commandStreamReceiver, OsContext *osContext)
|
|
: commandStreamReceiver(commandStreamReceiver),
|
|
osContext(osContext){};
|
|
|
|
CommandStreamReceiver *commandStreamReceiver = nullptr;
|
|
OsContext *osContext = nullptr;
|
|
|
|
const aub_stream::EngineType &getEngineType() const;
|
|
EngineUsage getEngineUsage() const;
|
|
};
|
|
} // namespace NEO
|