You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IPlugin*::initialize and IPlugin*::terminate should be always implemented as a pair. Also, resources acquired (e.g. malloc, new *, cuadMalloc*, *Create*, etc) in IPlugin*::initialize should be released in IPlugin*::terminate. Otherwise, it causes memory leak.
I fix a plugin as example, see #24106. Following plugins have the same bug at least:
Since you haven't replied for more than a year, we have closed this issue/pr.
If the problem is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up.
由于您超过一年未回复,我们将关闭这个issue/pr。
若问题未解决或有后续问题,请随时重新打开,我们会继续跟进。
IPlugin*::initialize
andIPlugin*::terminate
should be always implemented as a pair. Also, resources acquired (e.g. malloc, new *, cuadMalloc*, *Create*, etc) in IPlugin*::initialize should be released inIPlugin*::terminate
. Otherwise, it causes memory leak.I fix a plugin as example, see #24106. Following plugins have the same bug at least:
Read https://docs.nvidia.com/deeplearning/sdk/tensorrt-developer-guide/index.html#ipluginext to know more.
The text was updated successfully, but these errors were encountered: