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());
|
||||
|
||||
새 이슈에서 참조
사용자 차단