SWDEV-231579 - [hipclang-vdi-rocm][perf]
- HIPPerfDispatchSpeed disparity between HIP/HCC vs HIP/VDI Insert a wait marker command in the default stream only when HIP has pending operations on other async streams Change-Id: I68660a54867fab7571ba57eb1df5feb1bca1c61a
这个提交包含在:
1 父节点
2eb8cc8e90
当前提交
db70fc66b7
7 个文件已更改
+72
-25
没有与搜索条件相匹配的文件
+1
-2
@@ -222,8 +222,7 @@ hipError_t hipEventRecord(hipEvent_t event, hipStream_t stream) {
|
||||
hip::Stream* s = reinterpret_cast<hip::Stream*>(stream);
|
||||
amd::HostQueue* queue = hip::getQueue(stream);
|
||||
|
||||
amd::Command* command = (s != nullptr && (s->flags & hipStreamNonBlocking)) ?
|
||||
queue->getLastQueuedCommand(true) : nullptr;
|
||||
amd::Command* command = queue->getLastQueuedCommand(true);
|
||||
|
||||
if (command == nullptr) {
|
||||
command = new amd::Marker(*queue, false);
|
||||
|
||||
在新工单中引用
屏蔽一个用户