summaryrefslogtreecommitdiff
path: root/offload/test/offloading/ctor_dtor_lazy.cpp
AgeCommit message (Collapse)Author
2024-08-13[Offload] Ensure to load images when the device is used (#103002)Johannes Doerfert
When we use the device, e.g., with an API that interacts with it, we need to ensure the image is loaded and the constructors are executed. Two tests are included to verify we 1) load images and run constructors when needed, and 2) we do so lazily only if the device is actually used. --------- Co-authored-by: Joseph Huber <huberjn@outlook.com>