mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 21:42:53 +08:00
fix: report correct number of XeCore per Cluster
Related-To: NEO-10060 Signed-off-by: Wenbin Lu <wenbin.lu@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
fc5cab4445
commit
47383d752f
@@ -7,11 +7,9 @@
|
||||
|
||||
#include "opencl/source/cl_device/cl_device_info.h"
|
||||
|
||||
#include "shared/source/debug_settings/debug_settings_manager.h"
|
||||
#include "shared/source/device/device.h"
|
||||
#include "shared/source/device/device_info.h"
|
||||
#include "shared/source/execution_environment/root_device_environment.h"
|
||||
#include "shared/source/helpers/basic_math.h"
|
||||
#include "shared/source/helpers/compiler_product_helper.h"
|
||||
#include "shared/source/helpers/get_info.h"
|
||||
#include "shared/source/helpers/gfx_core_helper.h"
|
||||
@@ -277,8 +275,7 @@ cl_int ClDevice::getDeviceInfo(cl_device_info paramName,
|
||||
retSize = srcSize = sizeof(cl_uint);
|
||||
break;
|
||||
case CL_DEVICE_NUM_SUB_SLICES_PER_SLICE_INTEL: {
|
||||
const auto >SysInfo = getHardwareInfo().gtSystemInfo;
|
||||
param.uint = static_cast<cl_uint>(Math::divideAndRoundUp(gtSysInfo.SubSliceCount, gtSysInfo.SliceCount));
|
||||
param.uint = static_cast<cl_uint>(getNumSubSlicesPerSlice(getHardwareInfo()));
|
||||
src = ¶m.uint;
|
||||
retSize = srcSize = sizeof(cl_uint);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user