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