SWDEV-385255 - fixes for graph exec with mem pools

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


[ROCm/clr commit: d2ea4d3dd4]
Этот коммит содержится в:
sdashmiz authored and Maneesh Gupta committed 2023-04-05 10:52:04 +00:00
1 родитель 49ab7a188f
Коммит c33e0bde58
1 file changed
+1 -1
+1 -1
Просмотреть файл
@@ -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();
}