mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-31 20:13:04 +08:00
Change-Id: Ia5ea548ce233d332a040fd3a50592da294d3d612 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
20 lines
534 B
C++
20 lines
534 B
C++
/*
|
|
* Copyright (C) 2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "runtime/command_stream/create_command_stream_impl.h"
|
|
#include "runtime/execution_environment/execution_environment.h"
|
|
#include "runtime/helpers/hw_info.h"
|
|
#include "runtime/os_interface/device_factory.h"
|
|
|
|
namespace OCLRT {
|
|
|
|
bool getDevices(HardwareInfo **hwInfo, size_t &numDevicesReturned, ExecutionEnvironment &executionEnviornment) {
|
|
return getDevicesImpl(hwInfo, numDevicesReturned, executionEnviornment);
|
|
}
|
|
|
|
} // namespace OCLRT
|