SWDEV-360031 - check for stream capture finish.
- stream capture should be done before any sync APIs. Signed-off-by: sdashmiz <shadi.dashmiz@amd.com> Change-Id: I3d65f67ee68777be71f97f48d460ccaefdd4e1af
这个提交包含在:
1 父节点
338307ef2c
当前提交
be966acb0c
5 个文件已更改
+43
-1
没有与搜索条件相匹配的文件
@@ -518,6 +518,10 @@ hipError_t hipDeviceSynchronize ( void ) {
|
||||
HIP_RETURN(hipErrorOutOfMemory);
|
||||
}
|
||||
|
||||
if (hip::Stream::StreamCaptureOngoing() == true) {
|
||||
HIP_RETURN(hipErrorStreamCaptureUnsupported);
|
||||
}
|
||||
|
||||
queue->finish();
|
||||
|
||||
hip::Stream::syncNonBlockingStreams(hip::getCurrentDevice()->deviceId());
|
||||
|
||||
在新工单中引用
屏蔽一个用户