gcc/libgomp
Cesar Philippidis 2049befdd0 [nvptx] Remove use of CUDA unified memory in libgomp
libgomp/
	* plugin/plugin-nvptx.c (struct cuda_map): New.
	(struct ptx_stream): Replace d, h, h_begin, h_end, h_next, h_prev,
	h_tail with (cuda_map *) map.
	(cuda_map_create): New function.
	(cuda_map_destroy): New function.
	(map_init): Update to use a linked list of cuda_map objects.
	(map_fini): Likewise.
	(map_pop): Likewise.
	(map_push): Likewise.  Return CUdeviceptr instead of void.
	(init_streams_for_device): Remove stales references to ptx_stream
	members.
	(select_stream_for_async): Likewise.
	(nvptx_exec): Update call to map_init.

From-SVN: r264397
2018-09-18 08:41:54 -07:00
..
config [libgomp] Truncate config/nvptx/oacc-parallel.c 2018-08-01 13:01:45 -07:00
plugin [nvptx] Remove use of CUDA unified memory in libgomp 2018-09-18 08:41:54 -07:00
testsuite [OpenACC] C++ reference mapping 2018-09-12 15:21:19 +00:00
ChangeLog [nvptx] Remove use of CUDA unified memory in libgomp 2018-09-18 08:41:54 -07:00
ChangeLog.graphite
Makefile.am
Makefile.in
acinclude.m4
aclocal.m4
affinity.c
alloc.c
atomic.c
barrier.c
config.h.in
configure [libgomp, nvptx, --without-cuda-driver] Don't use system cuda driver 2018-08-04 20:07:22 +00:00
configure.ac
configure.tgt
critical.c
env.c
error.c
fortran.c
hashtab.h
icv-device.c
icv.c
iter.c
iter_ull.c
libgomp-plugin.c
libgomp-plugin.h
libgomp.h
libgomp.map
libgomp.spec.in
libgomp.texi
libgomp_f.h.in
libgomp_g.h
lock.c
loop.c
loop_ull.c
oacc-async.c
oacc-cuda.c
oacc-host.c
oacc-init.c
oacc-int.h
oacc-mem.c
oacc-parallel.c
oacc-plugin.c
oacc-plugin.h
omp.h.in
omp_lib.f90.in
omp_lib.h.in
openacc.f90
openacc.h
openacc_lib.h
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
work.c