tqchen commented on issue #1363: [DISCUSS][RFC] Static Destruction Order Problem
URL: https://github.com/apache/incubator-tvm/issues/1363#issuecomment-583771899
 
 
   Summary of the current status of static destructors:
   
   - The external FUNCTOR registration problem has been resolved as we move to 
register function pointer instead of std::function
   - We have decided to not destruct most of the resources(function pointers) 
in the singletons, to avoid destruction order problem 
   - We have not resolved the order dependencies of DeviceAPI, the current 
recommendation is always de-allocate array in functions instead of keeping a 
global reference. For these with global reference, never destruct them.
   
   Given there are not too many further actionable items, we will close this 
thread for now.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to