mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
RelaxedOrdering dispatch for OCL 2/n
Related-To: NEO-7458 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
79f985a0e3
commit
477448c097
@@ -7,6 +7,7 @@
|
||||
|
||||
#pragma once
|
||||
#include "shared/source/command_container/command_encoder.h"
|
||||
#include "shared/source/direct_submission/relaxed_ordering_helper.h"
|
||||
#include "shared/source/helpers/gfx_core_helper.h"
|
||||
#include "shared/source/helpers/pause_on_gpu_properties.h"
|
||||
#include "shared/source/helpers/pipe_control_args.h"
|
||||
@@ -100,8 +101,7 @@ void HardwareInterface<GfxFamily>::dispatchWalker(
|
||||
}
|
||||
|
||||
if (walkerArgs.relaxedOrderingEnabled) {
|
||||
NEO::EncodeSetMMIO<GfxFamily>::encodeREG(*commandStream, CS_GPR_R0, CS_GPR_R4);
|
||||
NEO::EncodeSetMMIO<GfxFamily>::encodeREG(*commandStream, CS_GPR_R0 + 4, CS_GPR_R4 + 4);
|
||||
RelaxedOrderingHelper::encodeRegistersBeforeDependencyCheckers<GfxFamily>(*commandStream);
|
||||
}
|
||||
|
||||
TimestampPacketHelper::programCsrDependenciesForTimestampPacketContainer<GfxFamily>(*commandStream, csrDependencies, walkerArgs.relaxedOrderingEnabled);
|
||||
|
||||
Reference in New Issue
Block a user