gcc/libgomp/config
Jakub Jelinek 17f52a1c72 openmp: Add support for HBW or large capacity or interleaved memory through the libmemkind.so library
This patch adds support for dlopening libmemkind.so on Linux and uses it
for some kinds of allocations (but not yet e.g. pinned memory).

2022-06-09  Jakub Jelinek  <jakub@redhat.com>

	* allocator.c: Include dlfcn.h if LIBGOMP_USE_MEMKIND is defined.
	(enum gomp_memkind_kind): New type.
	(struct omp_allocator_data): Add memkind field if LIBGOMP_USE_MEMKIND
	is defined.
	(struct gomp_memkind_data): New type.
	(memkind_data, memkind_data_once): New variables.
	(gomp_init_memkind, gomp_get_memkind): New functions.
	(omp_init_allocator): Initialize data.memkind, don't fail for
	omp_high_bw_mem_space if libmemkind supports it.
	(omp_aligned_alloc, omp_free, omp_aligned_calloc, omp_realloc): Add
	memkind support of LIBGOMP_USE_MEMKIND is defined.
	* config/linux/allocator.c: New file.
2022-06-09 10:14:42 +02:00
..
accel Update copyright years. 2022-01-03 10:42:10 +01:00
bsd Update copyright years. 2022-01-03 10:42:10 +01:00
darwin Update copyright years. 2022-01-03 10:42:10 +01:00
gcn libgomp, OpenMP: Fix issue for omp_get_device_num on gcn targets. 2022-01-19 05:03:54 -08:00
hpux Update copyright years. 2022-01-03 10:42:10 +01:00
linux openmp: Add support for HBW or large capacity or interleaved memory through the libmemkind.so library 2022-06-09 10:14:42 +02:00
mingw32 Update copyright years. 2022-01-03 10:42:10 +01:00
nvptx [libgomp, nvptx] Fix hang in gomp_team_barrier_wait_end 2022-02-22 15:48:03 +01:00
posix Update copyright years. 2022-01-03 10:42:10 +01:00
rtems Update copyright years. 2022-01-03 10:42:10 +01:00
t-aix aix: remove libgomp and libatomic archives before creating FAT archives 2020-10-11 17:30:24 -04:00