mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-28 16:48:45 +08:00
fix: correct reported num subslices per slice in fused config
Related-To: NEO-12073 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
55907c853b
commit
8a60742a8d
@@ -11,6 +11,7 @@
|
||||
#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,7 +278,7 @@ cl_int ClDevice::getDeviceInfo(cl_device_info paramName,
|
||||
break;
|
||||
case CL_DEVICE_NUM_SUB_SLICES_PER_SLICE_INTEL: {
|
||||
const auto >SysInfo = getHardwareInfo().gtSystemInfo;
|
||||
param.uint = gtSysInfo.SubSliceCount / gtSysInfo.SliceCount;
|
||||
param.uint = static_cast<cl_uint>(Math::divideAndRoundUp(gtSysInfo.SubSliceCount, gtSysInfo.SliceCount));
|
||||
src = ¶m.uint;
|
||||
retSize = srcSize = sizeof(cl_uint);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user