[llvm] [OpenMP] Add explicit attributes to every function declaration (PR #122399)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 10 11:07:39 PST 2025


================
@@ -26,22 +26,23 @@ namespace allocator {
 static uint64_t constexpr ALIGNMENT = 16;
 
 /// Initialize the allocator according to \p KernelEnvironment
-void init(bool IsSPMD, KernelEnvironmentTy &KernelEnvironment);
+OMP_ATTRS void init(bool IsSPMD, KernelEnvironmentTy &KernelEnvironment);
----------------
jhuber6 wrote:

DeviceTypes.h

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


More information about the llvm-commits mailing list