Files
compute-runtime/unit_tests/libult/create_command_stream.h
Mateusz Jablonski 10db7e0328 Refactor variables to modify getDevices func behavior
store them in one struct
expect that global state is restored on test end

Related-To: NEO-4207

Change-Id: Icd1db59598f464a34608290d6023405cf7f246f0
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-04 10:31:48 +01:00

19 lines
453 B
C++

/*
* Copyright (C) 2018-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include <cstddef>
#include <cstdint>
namespace NEO {
class CommandStreamReceiver;
class ExecutionEnvironment;
extern CommandStreamReceiver *createCommandStream(ExecutionEnvironment &executionEnvironment, uint32_t rootDeviceIndex);
extern bool getDevices(size_t &numDevicesReturned, ExecutionEnvironment &executionEnvironment);
} // namespace NEO