SWDEV-316226 - Fix to return 'numDependencies' as an independent optional argument in StreamGetCaptureInfo_v2()
Change-Id: I19552c4e62401f324ba876d0aa36472ebaa37aa0
Этот коммит содержится в:
коммит произвёл
Sourabh Betigeri
родитель
4bcccb60c9
Коммит
8adb379b1d
@@ -1286,9 +1286,10 @@ hipError_t hipStreamGetCaptureInfo_v2(hipStream_t stream, hipStreamCaptureStatus
|
||||
if (graph_out != nullptr) {
|
||||
*graph_out = s->GetCaptureGraph();
|
||||
}
|
||||
if (dependencies_out != nullptr && numDependencies_out != nullptr) {
|
||||
auto t= s->GetLastCapturedNodes().data();
|
||||
if (dependencies_out != nullptr) {
|
||||
*dependencies_out = s->GetLastCapturedNodes().data();
|
||||
}
|
||||
if (numDependencies_out != nullptr) {
|
||||
*numDependencies_out = s->GetLastCapturedNodes().size();
|
||||
}
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user