SWDEV-385255 - fixes for graph exec with mem pools
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com> Change-Id: I6f127090904a6c7985992bfaaab928d8b03013f5
Tá an tiomantas seo le fáil i:
tiomanta ag
Maneesh Gupta
tuismitheoir
5ee9e6c8c1
tiomantas
d2ea4d3dd4
@@ -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();
|
||||
}
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir