mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 05:56:36 +08:00
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:
committed by
Compute-Runtime-Automation
parent
6ccd535687
commit
8e75e06574
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user