Files
compute-runtime/runtime/helpers/device_helpers.cpp
Mateusz Jablonski 0a44dfcce4 Rename debug variable CreateMultipleDevices -> CreateMultipleRootDevices
Related-To: NEO-3691

Change-Id: I30eae4c5595e6e94aab726f8de2ae9b647406c91
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-17 17:57:58 +02:00

24 lines
711 B
C++

/*
* Copyright (C) 2018-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "runtime/helpers/device_helpers.h"
#include "runtime/helpers/hw_info.h"
#include "runtime/os_interface/debug_settings_manager.h"
namespace NEO {
void DeviceHelper::getExtraDeviceInfo(const HardwareInfo &hwInfo, cl_device_info paramName, cl_uint &param, const void *&src, size_t &size, size_t &retSize) {}
uint32_t DeviceHelper::getDevicesCount(const HardwareInfo *pHwInfo) {
return DebugManager.flags.CreateMultipleRootDevices.get() > 0 ? DebugManager.flags.CreateMultipleRootDevices.get() : 1u;
}
uint32_t DeviceHelper::getEnginesCount(const HardwareInfo &hwInfo) {
return 1u;
}
} // namespace NEO