SWDEV-315614 - hipStreamGetCaptureInfo to return seq id based on status
Change-Id: Ibceeb67fcd60b3ad2272e08a3ee682dc36bda1cb
[ROCm/clr commit: 32b9969db3]
이 커밋은 다음에 포함됨:
1 부모
97325ff303
커밋
8512b5d959
1 파일이 변경됨
+3
-1
@@ -1144,7 +1144,9 @@ hipError_t hipStreamGetCaptureInfo(hipStream_t stream, hipStreamCaptureStatus* p
|
||||
}
|
||||
hip::Stream* s = reinterpret_cast<hip::Stream*>(stream);
|
||||
*pCaptureStatus = s->GetCaptureStatus();
|
||||
*pId = s->GetCaptureID();
|
||||
if (*pCaptureStatus == hipStreamCaptureStatusActive) {
|
||||
*pId = s->GetCaptureID();
|
||||
}
|
||||
HIP_RETURN(hipSuccess);
|
||||
}
|
||||
|
||||
|
||||
새 이슈에서 참조
사용자 차단