mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 17:13:29 +08:00
refactor: Enable CSR heap sharing on Older Gen platforms
Related-To: LOCI-4312 Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
3637f519c3
commit
160daeb874
@@ -739,6 +739,7 @@ size_t EncodeDispatchKernel<Family>::getSizeRequiredDsh(const KernelDescriptor &
|
||||
size = alignUp(size, INTERFACE_DESCRIPTOR_DATA::SAMPLERSTATEPOINTER_ALIGN_SIZE);
|
||||
|
||||
if (additionalDshSize > 0) {
|
||||
size = alignUp(size, EncodeStates<Family>::alignInterfaceDescriptorData);
|
||||
size += additionalDshSize;
|
||||
size = alignUp(size, EncodeDispatchKernel<Family>::getDefaultDshAlignment());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user