We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97a3ab5 commit fc42629Copy full SHA for fc42629
sycl/source/detail/program_manager/program_manager.cpp
@@ -3636,7 +3636,9 @@ extern "C" void __sycl_register_lib(sycl_device_binaries desc) {
3636
// Executed as a part of current module's (.exe, .dll) static initialization
3637
extern "C" void __sycl_unregister_lib(sycl_device_binaries desc) {
3638
// Partial cleanup is not necessary at shutdown
3639
+#ifndef _WIN32
3640
if (!sycl::detail::GlobalHandler::instance().isOkToDefer())
3641
return;
3642
sycl::detail::ProgramManager::getInstance().removeImages(desc);
3643
+#endif
3644
}
0 commit comments