[all-commits] [llvm/llvm-project] 927af4: [OpenMP] Modify OMP_ALLOCATOR environment variable
nawrinsu via All-commits
all-commits at lists.llvm.org
Tue Jan 26 16:33:19 PST 2021
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 927af4b3c57681e623b8449fb717a447559358d0
https://github.com/llvm/llvm-project/commit/927af4b3c57681e623b8449fb717a447559358d0
Author: Nawrin Sultana <nawrin.sultana at intel.com>
Date: 2021-01-26 (Tue, 26 Jan 2021)
Changed paths:
M openmp/runtime/src/kmp_settings.cpp
A openmp/runtime/test/env/omp51_alloc_env.c
Log Message:
-----------
[OpenMP] Modify OMP_ALLOCATOR environment variable
This patch sets the def-allocator-var ICV based on the environment variables
provided in OMP_ALLOCATOR. Previously, only allowed value for OMP_ALLOCATOR
was a predefined memory allocator. OpenMP 5.1 specification allows predefined
memory allocator, predefined mem space, or predefined mem space with traits in
OMP_ALLOCATOR. If an allocator can not be created using the provided environment
variables, the def-allocator-var is set to omp_default_mem_alloc.
Differential Revision: https://reviews.llvm.org/D94985
More information about the All-commits
mailing list