================ @@ -39,6 +40,10 @@ void initRuntime() { llvm::omp::target::ompt::connectLibrary(); #endif + if (OffloadPolicy::isOffloadDisabled()) { ---------------- adurang wrote: ok, done! https://github.com/llvm/llvm-project/pull/133470