mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 00:24:58 +08:00
34 lines
1.3 KiB
C++
34 lines
1.3 KiB
C++
/*
|
|
* Copyright (C) 2018-2025 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "shared/source/helpers/device_bitfield.h"
|
|
|
|
#include <cstdint>
|
|
#include <string>
|
|
|
|
namespace NEO {
|
|
struct HardwareInfo;
|
|
class CommandStreamReceiver;
|
|
class ExecutionEnvironment;
|
|
|
|
struct AUBCommandStreamReceiver {
|
|
static CommandStreamReceiver *create(const std::string &filename,
|
|
bool standalone,
|
|
ExecutionEnvironment &executionEnvironment,
|
|
uint32_t rootDeviceIndex,
|
|
const DeviceBitfield deviceBitfield);
|
|
static std::string createFullFilePath(const HardwareInfo &hwInfo, const std::string &filename, uint32_t rootDeviceIndex);
|
|
};
|
|
|
|
typedef CommandStreamReceiver *(*AubCommandStreamReceiverCreateFunc)(const std::string &fileName,
|
|
bool standalone,
|
|
ExecutionEnvironment &executionEnvironment,
|
|
uint32_t rootDeviceIndex,
|
|
const DeviceBitfield deviceBitfield);
|
|
} // namespace NEO
|