fix: remove not needed limitations for preferred slm

Related-To: NEO-12639

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2024-10-10 18:30:16 +00:00
committed by Compute-Runtime-Automation
parent 50221dd572
commit f4746a5b07

View File

@@ -1078,7 +1078,7 @@ void EncodeDispatchKernel<Family>::setupPreferredSlmSize(InterfaceDescriptorType
break;
case SlmPolicy::slmPolicyLargeSlm:
default:
slmSize = std::min(slmTotalSize * workGroupCountPerDss, static_cast<uint32_t>(hwInfo.capabilityTable.slmSize * MemoryConstants::kiloByte));
slmSize = slmTotalSize * workGroupCountPerDss;
break;
}