History log of /llvm-project/offload/test/offloading/ctor_dtor_api.cpp (Results 1 – 1 of 1)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-21-init, llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4, llvmorg-19.1.3, llvmorg-19.1.2, llvmorg-19.1.1, llvmorg-19.1.0, llvmorg-19.1.0-rc4, llvmorg-19.1.0-rc3
# ff12c006 13-Aug-2024 Johannes Doerfert <johannes@jdoerfert.de>

[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 ex

[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>

show more ...