llvm-project
ff12c006 - [Offload] Ensure to load images when the device is used (#103002)

Commit
1 year ago
[Offload] Ensure to load images when the device is used (#103002) 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>
Author
Parents
Loading