[Openmp-commits] [openmp] [OpenMP] Fix various alignment issues (PR #142376)
via Openmp-commits
openmp-commits at lists.llvm.org
Mon Jun 23 03:31:27 PDT 2025
================
@@ -1861,7 +1861,7 @@ typedef struct kmp_mem_desc { // Memory block descriptor
void *ptr_align; // Pointer to aligned memory, returned
kmp_allocator_t *allocator; // allocator
} kmp_mem_desc_t;
-static int alignment = sizeof(void *); // align to pointer size by default
+static int alignment = SizeQuant;
----------------
jprotze wrote:
I cannot find any assignment to this variable. What is the purpose of having this as a static?
https://github.com/llvm/llvm-project/pull/142376
More information about the Openmp-commits
mailing list