SWDEV-301667 - StreamwaitEvent may not flush caches

Change-Id: I8d648f96273b36d4930216ffa05bf1adb3c408da
这个提交包含在:
Saleel Kudchadker
2023-11-13 13:10:58 -08:00
父节点 1f8ead914a
当前提交 514b7fc470
+3
查看文件
@@ -183,6 +183,9 @@ hipError_t Event::streamWaitCommand(amd::Command*& command, hip::Stream* stream)
eventWaitList.push_back(event_);
}
command = new amd::Marker(*stream, kMarkerDisableFlush, eventWaitList);
// Since we only need to have a dependency on an existing event,
// we may not need to flush any caches.
command->setEventScope(amd::Device::kCacheStateIgnore);
if (command == NULL) {
return hipErrorOutOfMemory;