mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Revert "Use DualSubSliceCount to calculate workgroup size"
This reverts commit 8ea5bbd3b5.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
2cc2d05c37
commit
b0d4215328
@@ -118,14 +118,12 @@ void Device::initializeCaps() {
|
||||
? CommonConstants::maximalSimdSize
|
||||
: hwHelper.getMinimalSIMDSize();
|
||||
|
||||
uint32_t dualSubsliceCount = systemInfo.DualSubSliceCount == 0 ? systemInfo.SubSliceCount : systemInfo.DualSubSliceCount;
|
||||
|
||||
deviceInfo.maxNumEUsPerSubSlice = (systemInfo.EuCountPerPoolMin == 0 || hwInfo.featureTable.flags.ftrPooledEuEnabled == 0)
|
||||
? (systemInfo.EUCount / dualSubsliceCount)
|
||||
? (systemInfo.EUCount / systemInfo.SubSliceCount)
|
||||
: systemInfo.EuCountPerPoolMin;
|
||||
if (dualSubsliceCount != 0) {
|
||||
if (systemInfo.DualSubSliceCount != 0) {
|
||||
deviceInfo.maxNumEUsPerDualSubSlice = (systemInfo.EuCountPerPoolMin == 0 || hwInfo.featureTable.flags.ftrPooledEuEnabled == 0)
|
||||
? (systemInfo.EUCount / dualSubsliceCount)
|
||||
? (systemInfo.EUCount / systemInfo.DualSubSliceCount)
|
||||
: systemInfo.EuCountPerPoolMin;
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user