SWDEV-385255 - fixes for graph exec with mem pools

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I6f127090904a6c7985992bfaaab928d8b03013f5


[ROCm/clr commit: d2ea4d3dd4]
Cette révision appartient à :
sdashmiz
2023-03-06 11:39:14 -05:00
révisé par Maneesh Gupta
Parent 49ab7a188f
révision c33e0bde58
+1 -1
Voir le fichier
@@ -574,7 +574,7 @@ hipError_t hipGraphExec::Run(hipStream_t stream) {
if (hip::getStream(stream) == nullptr) {
return hipErrorInvalidResourceHandle;
}
if (flags_ == hipGraphInstantiateFlagAutoFreeOnLaunch) {
if (flags_ & hipGraphInstantiateFlagAutoFreeOnLaunch) {
if (!levelOrder_.empty()) {
levelOrder_[0]->GetParentGraph()->FreeAllMemory();
}