[llvm] [OpenMP] Add explicit attributes to every function declaration (PR #122399)
Shilei Tian via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 10 11:06:54 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);
----------------
shiltian wrote:
Did I miss anything here? I can't find where `OMP_ATTRS` is defined.
https://github.com/llvm/llvm-project/pull/122399
More information about the llvm-commits
mailing list