gcc/libgomp
Jakub Jelinek 7324369a12 target.c (struct gomp_coalesce_buf): New type.
* target.c (struct gomp_coalesce_buf): New type.
	(MAX_COALESCE_BUF_SIZE, MAX_COALESCE_BUF_GAP): Define.
	(gomp_coalesce_buf_add, gomp_to_device_kind_p): New functions.
	(gomp_copy_host2dev): Add CBUF argument, if copying into
	the cached ranges, memcpy into buffer instead of copying
	into device.
	(gomp_map_vars_existing, gomp_map_pointer, gomp_map_fields_existing):
	Add CBUF argument, pass it through to other calls.
	(gomp_map_vars): Aggregate copies from host to device if small enough
	and with small enough gaps in between into memcpy into a buffer and
	fewer host to device copies from the buffer.
	(gomp_update): Adjust gomp_copy_host2dev caller.

From-SVN: r254194
2017-10-28 09:02:39 +02:00
..
config
plugin Fix secure_getenv.h include in plugin-hsa.c 2017-07-03 13:40:19 +00:00
testsuite Restore "dg-do run" directives for libgomp.oacc-fortran/declare-*.f90 2017-10-17 13:17:00 +02:00
acinclude.m4
aclocal.m4
affinity.c
alloc.c
atomic.c
barrier.c
ChangeLog target.c (struct gomp_coalesce_buf): New type. 2017-10-28 09:02:39 +02:00
ChangeLog.graphite
config.h.in
configure
configure.ac
configure.tgt
critical.c
env.c Use secure_getenv for GOMP_DEBUG 2017-06-27 15:51:37 +00:00
error.c
fortran.c
hashtab.h
icv-device.c
icv.c
iter_ull.c
iter.c
libgomp_f.h.in
libgomp_g.h
libgomp-plugin.c
libgomp-plugin.h
libgomp.h
libgomp.map
libgomp.spec.in
libgomp.texi libgomp.texi (Top): www.openacc.org now uses https. 2017-09-08 12:27:14 +00:00
lock.c
loop_ull.c
loop.c
Makefile.am
Makefile.in
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_lib.f90.in
omp_lib.h.in
omp.h.in
openacc_lib.h
openacc.f90
openacc.h
ordered.c
parallel.c
priority_queue.c
priority_queue.h
sections.c
secure_getenv.h Use secure_getenv for GOMP_DEBUG 2017-06-27 15:51:37 +00:00
single.c
splay-tree.c
splay-tree.h
target.c target.c (struct gomp_coalesce_buf): New type. 2017-10-28 09:02:39 +02:00
task.c
taskloop.c
team.c
work.c