fix: disable in-order barrier skipping if dcFlush is required

Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
Dunajski, Bartosz
2024-02-23 10:19:48 +00:00
committed by Compute-Runtime-Automation
parent 6ccd535687
commit 8e75e06574
2 changed files with 18 additions and 6 deletions

View File

@@ -3193,6 +3193,10 @@ void CommandListCoreFamily<gfxCoreFamily>::programStateBaseAddress(NEO::CommandC
template <GFXCORE_FAMILY gfxCoreFamily>
bool CommandListCoreFamily<gfxCoreFamily>::isSkippingInOrderBarrierAllowed(ze_event_handle_t hSignalEvent, uint32_t numWaitEvents, ze_event_handle_t *phWaitEvents) const {
if (dcFlushSupport) {
return false;
}
uint32_t eventsToWait = numWaitEvents;
for (uint32_t i = 0; i < numWaitEvents; i++) {