2018-01-19 10:00:51 +01:00
|
|
|
/*
|
2021-09-22 22:03:07 +00:00
|
|
|
* Copyright (C) 2018-2021 Intel Corporation
|
2018-01-19 10:00:51 +01:00
|
|
|
*
|
2018-09-18 09:11:08 +02:00
|
|
|
* SPDX-License-Identifier: MIT
|
2018-01-19 10:00:51 +01:00
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
2020-02-23 22:44:01 +01:00
|
|
|
#include "shared/source/command_stream/command_stream_receiver.h"
|
2018-01-19 10:00:51 +01:00
|
|
|
|
2019-03-26 11:59:46 +01:00
|
|
|
namespace NEO {
|
2018-08-07 14:46:15 +02:00
|
|
|
class ExecutionEnvironment;
|
2020-10-29 15:33:35 +01:00
|
|
|
extern CommandStreamReceiver *createCommandStreamImpl(ExecutionEnvironment &executionEnvironment,
|
|
|
|
|
uint32_t rootDeviceIndex,
|
|
|
|
|
const DeviceBitfield deviceBitfield);
|
2020-03-23 09:13:25 +01:00
|
|
|
extern bool prepareDeviceEnvironmentsImpl(ExecutionEnvironment &executionEnvironment);
|
2021-10-11 15:34:03 +00:00
|
|
|
extern bool prepareDeviceEnvironmentImpl(ExecutionEnvironment &executionEnvironment, std::string &osPciPath, const uint32_t rootDeviceIndex);
|
2019-03-26 11:59:46 +01:00
|
|
|
} // namespace NEO
|