Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Bugfix][Vulkan] Call VulkanDeviceAPI destructor on program exit
Most of the TVM Global() functions allocate with "new" and do not deallocate, as the OS can clean up any leftover buffers at the end. In this case, we need the VulkanDeviceAPI destructor to call vkDestroyInstance, to prevent a segfault on exit when using some nvidia drivers.
- Loading branch information