2017-12-21 00:45:38 +01:00
|
|
|
/*
|
2025-02-18 14:35:36 +00:00
|
|
|
* Copyright (C) 2018-2025 Intel Corporation
|
2017-12-21 00:45:38 +01:00
|
|
|
*
|
2018-09-18 09:11:08 +02:00
|
|
|
* SPDX-License-Identifier: MIT
|
2017-12-21 00:45:38 +01:00
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
2021-12-07 11:22:25 +00:00
|
|
|
#include "shared/source/aub_mem_dump/aub_mem_dump.h"
|
2023-01-24 15:33:52 +00:00
|
|
|
#include "shared/source/helpers/device_bitfield.h"
|
2025-02-18 14:35:36 +00:00
|
|
|
#include "shared/source/helpers/non_copyable_or_moveable.h"
|
2017-12-21 00:45:38 +01:00
|
|
|
|
2019-03-26 11:59:46 +01:00
|
|
|
namespace NEO {
|
2017-12-21 00:45:38 +01:00
|
|
|
class CommandStreamReceiver;
|
|
|
|
|
class TbxSockets;
|
2018-08-08 13:49:09 +02:00
|
|
|
class ExecutionEnvironment;
|
2017-12-21 00:45:38 +01:00
|
|
|
|
|
|
|
|
struct TbxCommandStreamReceiver {
|
2020-10-28 16:08:37 +01:00
|
|
|
static CommandStreamReceiver *create(const std::string &baseName,
|
|
|
|
|
bool withAubDump,
|
|
|
|
|
ExecutionEnvironment &executionEnvironment,
|
|
|
|
|
uint32_t rootDeviceIndex,
|
2020-10-29 15:33:35 +01:00
|
|
|
const DeviceBitfield deviceBitfield);
|
2017-12-21 00:45:38 +01:00
|
|
|
};
|
|
|
|
|
|
2020-10-28 16:08:37 +01:00
|
|
|
typedef CommandStreamReceiver *(*TbxCommandStreamReceiverCreateFunc)(const std::string &baseName,
|
|
|
|
|
bool withAubDump,
|
|
|
|
|
ExecutionEnvironment &executionEnvironment,
|
|
|
|
|
uint32_t rootDeviceIndex,
|
2020-10-29 15:33:35 +01:00
|
|
|
const DeviceBitfield deviceBitfield);
|
2019-03-26 11:59:46 +01:00
|
|
|
} // namespace NEO
|