gcc/libgomp
Jakub Jelinek e107157171 openmp: Add basic library allocator support.
This patch adds very basic allocator support (omp_{init,destroy}_allocator,
omp_{alloc,free}, omp_[sg]et_default_allocator).
The plan is to use memkind (likely dlopened) for high bandwidth memory, but
that part isn't implemented yet, probably mlock for pinned memory and see
what other options there are for other kinds of memory.
For offloading targets, we need to decide if we want to support the
dynamic allocators (and on which targets), or if e.g. all we do is at compile
time replace omp_alloc/omp_free calls with constexpr predefined allocators
with something special.

And allocate directive and allocator/uses_allocators clauses are future work
too.

2020-05-19  Jakub Jelinek  <jakub@redhat.com>

	* allocator.c: New file.
2020-05-19 14:08:11 +02:00
..
config [OpenACC] Set 'acc_device_current = -1' 2020-04-29 09:54:37 +02:00
plugin amdgcn: Check HSA return codes [PR94629] 2020-04-23 15:05:23 +01:00
testsuite openmp: Add basic library allocator support. 2020-05-19 10:11:01 +02:00
.gitattributes
acc_prof.h
acinclude.m4
aclocal.m4
affinity-fmt.c
affinity.c
alloc.c
allocator.c openmp: Add basic library allocator support. 2020-05-19 14:08:11 +02:00
atomic.c
barrier.c
ChangeLog openmp: Add basic library allocator support. 2020-05-19 10:11:01 +02:00
ChangeLog.graphite
config.h.in
configure x86: Also check if -fcf-protection works 2020-05-15 09:07:17 -07:00
configure.ac
configure.tgt
critical.c
env.c openmp: Add basic library allocator support. 2020-05-19 10:11:01 +02:00
error.c
fortran.c
hashtab.h
icv-device.c
icv.c openmp: Add basic library allocator support. 2020-05-19 10:11:01 +02:00
iter_ull.c
iter.c
libgomp_f.h.in
libgomp_g.h
libgomp-plugin.c
libgomp-plugin.h
libgomp.h openmp: Add basic library allocator support. 2020-05-19 10:11:01 +02:00
libgomp.map openmp: Add basic library allocator support. 2020-05-19 10:11:01 +02:00
libgomp.spec.in
libgomp.texi
lock.c
loop_ull.c
loop.c
Makefile.am openmp: Add basic library allocator support. 2020-05-19 10:11:01 +02:00
Makefile.in openmp: Add basic library allocator support. 2020-05-19 10:11:01 +02:00
oacc-async.c
oacc-cuda.c
oacc-host.c
oacc-init.c [gcn] Use 'radeon' for the environment variable 'ACC_DEVICE_TYPE' 2020-04-29 09:24:07 +02:00
oacc-int.h
oacc-mem.c
oacc-parallel.c
oacc-plugin.c
oacc-plugin.h
oacc-profiling.c
oacc-target.c
omp_lib.f90.in
omp_lib.h.in
omp.h.in openmp: Add basic library allocator support. 2020-05-19 10:11:01 +02:00
openacc_lib.h [OpenACC] Set 'acc_device_current = -1' 2020-04-29 09:54:37 +02:00
openacc.f90 [OpenACC] Set 'acc_device_current = -1' 2020-04-29 09:54:37 +02:00
openacc.h [OpenACC] Set 'acc_device_current = -1' 2020-04-29 09:54:37 +02:00
ordered.c
parallel.c
priority_queue.c
priority_queue.h
sections.c
secure_getenv.h
single.c
splay-tree.c
splay-tree.h
target.c
task.c
taskloop.c
team.c openmp: Add basic library allocator support. 2020-05-19 10:11:01 +02:00
teams.c
work.c