2018-09-20 20:18:19 +08:00
|
|
|
/*
|
2019-03-19 19:10:01 +08:00
|
|
|
* Copyright (C) 2018-2019 Intel Corporation
|
2018-09-20 20:18:19 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "runtime/helpers/device_helpers.h"
|
2019-03-19 19:10:01 +08:00
|
|
|
|
|
|
|
#include "runtime/helpers/hw_info.h"
|
|
|
|
#include "runtime/os_interface/debug_settings_manager.h"
|
|
|
|
|
2019-03-26 18:59:46 +08:00
|
|
|
namespace NEO {
|
2019-04-17 16:33:45 +08:00
|
|
|
void DeviceHelper::getExtraDeviceInfo(const HardwareInfo &hwInfo, cl_device_info paramName, cl_uint ¶m, const void *&src, size_t &size, size_t &retSize) {}
|
2019-03-19 19:10:01 +08:00
|
|
|
|
|
|
|
uint32_t DeviceHelper::getDevicesCount(const HardwareInfo *pHwInfo) {
|
|
|
|
return DebugManager.flags.CreateMultipleDevices.get() > 0 ? DebugManager.flags.CreateMultipleDevices.get() : 1u;
|
|
|
|
}
|
2019-05-15 21:12:55 +08:00
|
|
|
|
|
|
|
uint32_t DeviceHelper::getEnginesCount(const HardwareInfo &hwInfo) {
|
|
|
|
return 1u;
|
|
|
|
}
|
2019-03-26 18:59:46 +08:00
|
|
|
} // namespace NEO
|