2018-02-14 13:48:31 +01:00
|
|
|
/*
|
2023-02-16 16:51:55 +00:00
|
|
|
* Copyright (C) 2018-2023 Intel Corporation
|
2018-02-14 13:48:31 +01:00
|
|
|
*
|
2018-09-18 09:11:08 +02:00
|
|
|
* SPDX-License-Identifier: MIT
|
2018-02-14 13:48:31 +01:00
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
2020-02-03 13:19:12 +01:00
|
|
|
#pragma once
|
2020-10-28 16:08:37 +01:00
|
|
|
|
|
|
|
|
#include <bitset>
|
2020-02-03 13:19:12 +01:00
|
|
|
#include <cstdint>
|
2018-02-14 13:48:31 +01:00
|
|
|
|
2019-03-26 11:59:46 +01:00
|
|
|
namespace NEO {
|
2020-02-03 13:19:12 +01:00
|
|
|
class CommandStreamReceiver;
|
|
|
|
|
class ExecutionEnvironment;
|
2018-02-14 13:48:31 +01:00
|
|
|
|
2022-09-19 16:38:59 +00:00
|
|
|
using DeviceBitfield = std::bitset<4>;
|
2020-10-28 16:08:37 +01:00
|
|
|
|
2020-10-29 15:33:35 +01:00
|
|
|
extern CommandStreamReceiver *createCommandStream(ExecutionEnvironment &executionEnvironment,
|
|
|
|
|
uint32_t rootDeviceIndex,
|
|
|
|
|
const DeviceBitfield deviceBitfield);
|
2020-03-23 09:13:25 +01:00
|
|
|
extern bool prepareDeviceEnvironments(ExecutionEnvironment &executionEnvironment);
|
2019-03-26 11:59:46 +01:00
|
|
|
} // namespace NEO
|