mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
20 lines
454 B
C++
20 lines
454 B
C++
/*
|
|
* Copyright (C) 2019-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "core/execution_environment/execution_environment.h"
|
|
#include "core/os_interface/device_factory.h"
|
|
|
|
#include "command_stream/create_command_stream_impl.h"
|
|
|
|
namespace NEO {
|
|
|
|
bool getDevices(size_t &numDevicesReturned, ExecutionEnvironment &executionEnvironment) {
|
|
return getDevicesImpl(numDevicesReturned, executionEnvironment);
|
|
}
|
|
|
|
} // namespace NEO
|