mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
Refactor: don't use global ProductHelper getter in ocl files 2/n
Related-To: NEO-6853 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
59c8c14d52
commit
7c23ea3928
@@ -142,7 +142,7 @@ size_t HardwareCommandsHelper<GfxFamily>::sendInterfaceDescriptorData(
|
||||
|
||||
EncodeDispatchKernel<GfxFamily>::setGrfInfo(&interfaceDescriptor, kernelDescriptor.kernelAttributes.numGrfRequired,
|
||||
sizeCrossThreadData, sizePerThreadData, hardwareInfo);
|
||||
auto &productHelper = *ProductHelper::get(hardwareInfo.platform.eProductFamily);
|
||||
auto &productHelper = device.getProductHelper();
|
||||
productHelper.updateIddCommand(&interfaceDescriptor, kernelDescriptor.kernelAttributes.numGrfRequired,
|
||||
kernelDescriptor.kernelAttributes.threadArbitrationPolicy);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user