SWDEV-301667 - Remove resetFenceDirty

Dont track the status of fence_dirty_ flag on the host, instead clear it
when we submit a barrier on the respective stream.

Change-Id: I4d98dbf20c81379c9c5da9f5b67629a8f9f6dfcd


[ROCm/clr commit: 0b0df605d4]
This commit is contained in:
Saleel Kudchadker
2024-01-12 23:42:09 +00:00
parent 3c5da3e666
commit 34fd1b7fe5
3 changed files with 0 additions and 13 deletions
-9
View File
@@ -254,15 +254,6 @@ void iHipWaitActiveStreams(hip::Stream* blocking_stream, bool wait_null_stream)
command->enqueue();
command->release();
}
//Reset the dirty flag for all streams now that the marker is submitted
amd::ScopedLock lock(streamSetLock);
for (const auto& stream : streamSet) {
amd::HostQueue* active_queue = stream->asHostQueue();
if (active_queue->vdev()->isFenceDirty()) {
active_queue->vdev()->resetFenceDirty();
}
}
}
// Release all active commands. It's safe after the marker was enqueued