Enable RelaxedOrdering for OCL on GPGPU engine

Related-To: NEO-7458

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
Dunajski, Bartosz
2023-03-21 12:27:52 +00:00
committed by Compute-Runtime-Automation
parent e2a4cd0d48
commit 73213c961f
2 changed files with 5 additions and 1 deletions

View File

@@ -1490,7 +1490,7 @@ template <typename GfxFamily>
bool CommandQueueHw<GfxFamily>::relaxedOrderingForGpgpuAllowed(uint32_t numWaitEvents) const {
auto &gpgpuCsr = getGpgpuCommandStreamReceiver();
if ((DebugManager.flags.DirectSubmissionRelaxedOrdering.get() != 1) || gpgpuCsr.isRecyclingTagForHeapStorageRequired()) {
if ((DebugManager.flags.DirectSubmissionRelaxedOrdering.get() == 0) || gpgpuCsr.isRecyclingTagForHeapStorageRequired()) {
return false;
}