v3: added free for ihipModuleSymbol_t structures inside tracker
Change-Id: Ib8041a05312c08cbdf2d4fee5e7cbae17df6efff
[ROCm/hip commit: d03fe5a40d]
Ta zmiana jest zawarta w:
%! (template.HTML=
Aditya Atluri)złożyło 2017-02-10 13:42:10 -06:00
1 rodzic
37e317ddb4
złożenie
8ca5a81ee1
Plik 1 zmieniony
+3
@@ -218,6 +218,9 @@ hipError_t hipModuleUnload(hipModule_t hmod)
|
||||
{
|
||||
ret = hipErrorInvalidValue;
|
||||
}
|
||||
for(std::list<hipFunction_t>::iterator f = hmod->funcTrack.begin(); f != hmod->funcTrack.end(); ++f) {
|
||||
delete *f;
|
||||
}
|
||||
delete hmod;
|
||||
return ihipLogStatus(ret);
|
||||
}
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika