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. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-tvm/issues/1363#issuecomment-583771899