[llvm] [Offload][NFC] Rename 'omp::target` namespace to `offload` (PR #195682)

Alex Duran via llvm-commits llvm-commits at lists.llvm.org
Mon May 4 10:10:21 PDT 2026


================
@@ -34,9 +34,9 @@
 #include <vector>
 
 #ifdef OMPT_SUPPORT
-using namespace llvm::omp::target::ompt;
+using namespace llvm::offload::ompt;
 #endif
-using namespace llvm::omp::target::debug;
+using namespace llvm::offload::debug;
----------------
adurang wrote:

I tried to be careful for plugins to use "llvm::offload::debug" (hopefully I did that right) and only libomptarget to use "llvm::omp::target::debug" (which contains the OpenMP specific bits).

So, I think all the renaming related to debug is unnecessary. Changing it now, to revert it in a follow-up seems somewhat weird to me, unless you refer to some other change that I didn't get.

https://github.com/llvm/llvm-project/pull/195682


More information about the llvm-commits mailing list