SWDEV-524849 - Fix HIP error returned during capture (#141)
Always use the latest dependent nodes during hipEventRecord capture
[ROCm/clr commit: 3514f45544]
This commit is contained in:
committad av
GitHub
förälder
487ede31a9
incheckning
3ceab5ba02
@@ -409,9 +409,7 @@ hipError_t hipEventRecord_common(hipEvent_t event, hipStream_t stream, unsigned
|
||||
"[hipGraph] Current capture node EventRecord on stream : %p, Event %p", stream, event);
|
||||
s->SetCaptureEvent(event);
|
||||
std::vector<hip::GraphNode*> lastCapturedNodes = s->GetLastCapturedNodes();
|
||||
if (!lastCapturedNodes.empty()) {
|
||||
e->SetNodesPrevToRecorded(lastCapturedNodes);
|
||||
}
|
||||
e->SetNodesPrevToRecorded(lastCapturedNodes);
|
||||
if (flags == hipEventRecordExternal) {
|
||||
hip::GraphNode* pGraphNode;
|
||||
status = hipGraphAddEventRecordNode((hipGraphNode_t*) pGraphNode, (hipGraph_t) s->GetCaptureGraph(),
|
||||
|
||||
Referens i nytt ärende
Block a user