gcc/libgomp/testsuite
Tobias Burnus 73a0d3bf89 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.
2023-06-15 12:55:58 +02:00
..
config Support parallel testing in libgomp, part II [PR66005] 2023-05-15 12:11:18 +02:00
lib Support parallel testing in libgomp: fallback Perl 'flock' [PR66005] 2023-06-02 09:51:15 +02:00
libgomp.c libgomp: Extend OMP_ALLOCATOR, add affinity env var doc 2023-06-15 12:55:58 +02:00
libgomp.c++ libgomp testsuite: As appropriate, use the 'gcc', 'g++', 'gfortran' driver [PR91884] 2023-05-15 12:11:18 +02:00
libgomp.c-c++-common libgomp/testsuite: Add requires-unified-addr-1.{c,f90} [PR109837] 2023-06-13 11:27:47 +02:00
libgomp.fortran driver: Forward '-lgfortran', '-lm' to offloading compilation 2023-06-14 11:41:45 +02:00
libgomp.graphite libgomp testsuite: Have each '*.exp' file specify the compiler to use [PR91884] 2023-05-15 12:11:17 +02:00
libgomp.oacc-c libgomp testsuite: Have each '*.exp' file specify the compiler to use [PR91884] 2023-05-15 12:11:17 +02:00
libgomp.oacc-c++ libgomp testsuite: As appropriate, use the 'gcc', 'g++', 'gfortran' driver [PR91884] 2023-05-15 12:11:18 +02:00
libgomp.oacc-c-c++-common OpenMP: Cleanups related to the 'present' modifier 2023-06-12 18:15:28 +02:00
libgomp.oacc-fortran driver: Forward '-lgfortran', '-lm' to offloading compilation 2023-06-14 11:41:45 +02:00
flock Support parallel testing in libgomp: fallback Perl 'flock' [PR66005] 2023-06-02 09:51:15 +02:00
libgomp-site-extra.exp.in Support parallel testing in libgomp, part II [PR66005] 2023-05-15 12:11:18 +02:00
libgomp-test-support.exp.in libgomp nvptx plugin: Remove '--with-cuda-driver=[...]' etc. configuration option 2022-06-10 17:08:57 +02:00
Makefile.am Support parallel testing in libgomp, part II [PR66005] 2023-05-15 12:11:18 +02:00
Makefile.in Remove stale Autoconf checks for Perl 2023-06-02 09:51:14 +02:00