================ @@ -27,6 +27,7 @@ struct OffloadConfig { bool ValidationEnabled = true; }; +bool &offloadInited(); ---------------- RossBrunton wrote: Done. I've also added a test for good measure. https://github.com/llvm/llvm-project/pull/144370