aboutsummaryrefslogtreecommitdiff
path: root/libcpp/files.cc
diff options
context:
space:
mode:
authorTobias Burnus <tobias@codesourcery.com>2023-06-15 12:55:58 +0200
committerTobias Burnus <tobias@codesourcery.com>2023-06-15 12:55:58 +0200
commit73a0d3bf895b5c322676178a51ac0d68cf603953 (patch)
tree89ddc5fbb2ae3d1bfed659a3dd580de7e65fc8b6 /libcpp/files.cc
parenta4df0ce78d6f1beee5d2ef53e2a1a9f3fc377100 (diff)
downloadgcc-73a0d3bf895b5c322676178a51ac0d68cf603953.zip
gcc-73a0d3bf895b5c322676178a51ac0d68cf603953.tar.gz
gcc-73a0d3bf895b5c322676178a51ac0d68cf603953.tar.bz2
libgomp: Extend OMP_ALLOCATOR, add affinity env var doc
Support OpenMP 5.1's syntax for OMP_ALLOCATOR as well, which permits besides predefined allocators also predefined memspaces optionally followed by traits. Additionally, this commit adds the previously lacking documentation for OMP_ALLOCATOR, OMP_AFFINITY_FORMAT and OMP_DISPLAY_AFFINITY. libgomp/ChangeLog: * env.c (gomp_def_allocator_envvar): New var. (parse_allocator): Handle OpenMP 5.1 syntax. (cleanup_env): New. (omp_display_env): Output gomp_def_allocator_envvar for an allocator with traits. * libgomp.texi (OMP_ALLOCATOR, OMP_AFFINITY_FORMAT, OMP_DISPLAY_AFFINITY): New. * testsuite/libgomp.c/allocator-1.c: New test. * testsuite/libgomp.c/allocator-2.c: New test. * testsuite/libgomp.c/allocator-3.c: New test. * testsuite/libgomp.c/allocator-4.c: New test. * testsuite/libgomp.c/allocator-5.c: New test. * testsuite/libgomp.c/allocator-6.c: New test.
Diffstat (limited to 'libcpp/files.cc')
0 files changed, 0 insertions, 0 deletions