mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-11 16:17:05 +08:00
Change-Id: I34eb993b562c77f56d8fbd51a02ee266c1f76678 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
20 lines
486 B
C++
20 lines
486 B
C++
/*
|
|
* Copyright (C) 2019-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/execution_environment/execution_environment.h"
|
|
#include "shared/source/os_interface/device_factory.h"
|
|
|
|
#include "opencl/source/command_stream/create_command_stream_impl.h"
|
|
|
|
namespace NEO {
|
|
|
|
bool getDevices(size_t &numDevicesReturned, ExecutionEnvironment &executionEnvironment) {
|
|
return getDevicesImpl(numDevicesReturned, executionEnvironment);
|
|
}
|
|
|
|
} // namespace NEO
|