This patch sets the def-allocator-var ICV based on the env variables provided in OMP_ALLOCATOR. Previously, only allowed value for OMP_ALLOCATOR was a predefined memory allocator. Now, OMP_ALLOCATOR accepts predefined memory allocator, predefined mem space, or predefined mem space with traits based on 5.1 spec. If an allocator can not be created using the provided environment variables, the def-allocator-var is set to omp_default_mem_alloc.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
This broke the Windows build, and since it landed before the 12 branch, it's blocking the LLVM 12.0.0 release. Please take a look: https://bugs.llvm.org/show_bug.cgi?id=48919
clang-tidy: warning: invalid case style for variable 'start' [readability-identifier-naming]
not useful