mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
Move Device helpers to namespace
Change-Id: Id7aa7b7e490c5ae87a517b3e0be16292a7de9a93 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
01ff1accfa
commit
a25cca2099
@@ -1,11 +1,19 @@
|
||||
/*
|
||||
* Copyright (C) 2018 Intel Corporation
|
||||
* 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 OCLRT {
|
||||
void getExtraDeviceInfo(cl_device_info paramName, cl_uint ¶m, const void *&src, size_t &size, size_t &retSize) {}
|
||||
void DeviceHelper::getExtraDeviceInfo(cl_device_info paramName, cl_uint ¶m, const void *&src, size_t &size, size_t &retSize) {}
|
||||
|
||||
uint32_t DeviceHelper::getDevicesCount(const HardwareInfo *pHwInfo) {
|
||||
return DebugManager.flags.CreateMultipleDevices.get() > 0 ? DebugManager.flags.CreateMultipleDevices.get() : 1u;
|
||||
}
|
||||
} // namespace OCLRT
|
||||
|
||||
Reference in New Issue
Block a user