mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Update StreamProperties
Update ThreadArbitrationPolicy enum. Remove adjustThreadArbitionPolicy from CommandStreamReceiverHw. Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
b25c0e4fc0
commit
573d01f085
@@ -1869,9 +1869,10 @@ void CommandListCoreFamily<gfxCoreFamily>::updateStreamProperties(Kernel &kernel
|
||||
|
||||
auto &kernelAttributes = kernel.getKernelDescriptor().kernelAttributes;
|
||||
auto &neoDevice = *device->getNEODevice();
|
||||
auto threadArbitrationPolicy = NEO::HwHelper::get(hwInfo.platform.eRenderCoreFamily).getDefaultThreadArbitrationPolicy();
|
||||
finalStreamState.stateComputeMode.setProperties(false, kernelAttributes.numGrfRequired, isMultiOsContextCapable,
|
||||
kernelAttributes.flags.useGlobalAtomics,
|
||||
(neoDevice.getNumAvailableDevices() > 1));
|
||||
(neoDevice.getNumAvailableDevices() > 1), threadArbitrationPolicy);
|
||||
if (finalStreamState.stateComputeMode.isDirty()) {
|
||||
NEO::EncodeWA<GfxFamily>::encodeAdditionalPipelineSelect(neoDevice, *commandContainer.getCommandStream(), true);
|
||||
NEO::EncodeComputeMode<GfxFamily>::adjustComputeMode(*commandContainer.getCommandStream(), nullptr, finalStreamState.stateComputeMode);
|
||||
|
||||
Reference in New Issue
Block a user