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);
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする