https://github.com/jhuber6 commented: I believe device ctor / dtors are handled at image init / deinit time now. We used to init at first kernel / data call. I'm guessing this just expands that for external users? https://github.com/llvm/llvm-project/pull/103002