gcc/libgomp
Thomas Schwinge 113020dc59 nvptx offloading linking
gcc/
	* config/nvptx/mkoffload.c (Kind, Vis): Remove enums.
	(Token, Stmt): Remove structs.
	(decls, vars, fns): Remove variables.
	(alloc_comment, append_stmt, is_keyword): Remove macros.
	(tokenize, write_token, write_tokens, alloc_stmt, rev_stmts)
	(write_stmt, write_stmts, parse_insn, parse_list_nosemi)
	(parse_init, parse_file): Remove functions.
	(read_file): Accept a pointer to a length and store into it.
	(process): Don't try to parse the input file, just write it out as
	a string, but looking for maps.  Also write out the length.
	(main): Don't use "-S" to compile PTX code.

	libgomp/
	* oacc-ptx.h: Remove file, moving its content into...
	* config/nvptx/fortran.c: ... here...
	* config/nvptx/oacc-init.c: ..., here...
	* config/nvptx/oacc-parallel.c: ..., and here.
	* config/nvptx/openacc.f90: New file.
	* plugin/plugin-nvptx.c: Don't include "oacc-ptx.h".
	(link_ptx): Don't link in predefined bits of PTX code.

Co-Authored-By: Bernd Schmidt <bernds@codesourcery.com>

From-SVN: r228418
2015-10-02 21:43:41 +02:00
..
config nvptx offloading linking 2015-10-02 21:43:41 +02:00
plugin nvptx offloading linking 2015-10-02 21:43:41 +02:00
testsuite Add checkpoint to libgomp dg-shouldfail tests 2015-09-30 10:44:49 +02:00
acinclude.m4
aclocal.m4 libgomp: Bump to automake 1.11.6 2015-05-13 11:24:38 +00:00
alloc.c
barrier.c
ChangeLog nvptx offloading linking 2015-10-02 21:43:41 +02:00
ChangeLog.graphite
config.h.in Fix --enable-offload-targets/-foffload handling, pt. 1 2015-09-23 16:52:50 +02:00
configure [gomp] Add RTEMS configuration 2015-09-03 11:26:36 +00:00
configure.ac [gomp] Add RTEMS configuration 2015-09-03 11:26:36 +00:00
configure.tgt configure.tgt: Add missing ;; in between nvptx and rtems snippets. 2015-09-03 18:20:35 +02:00
critical.c
env.c
error.c
fortran.c
hashtab.h
iter_ull.c re PR libgomp/66761 (libgomp: ThreadSanitizer: data race in libgomp) 2015-08-24 11:01:25 +00:00
iter.c re PR libgomp/66761 (libgomp: ThreadSanitizer: data race in libgomp) 2015-08-24 11:01:25 +00:00
libgomp_f.h.in
libgomp_g.h gomp-constants.h (GOMP_VERSION_NVIDIA_PTX): Increment. 2015-09-28 19:37:33 +00:00
libgomp-plugin.c
libgomp-plugin.h [PR libgomp/65742, PR middle-end/66332] libgomp: Remove plugin for non-shared memory host execution 2015-08-10 18:48:26 +02:00
libgomp.h gomp-constants.h (GOMP_VERSION_NVIDIA_PTX): Increment. 2015-09-28 19:37:33 +00:00
libgomp.map gomp-constants.h (GOMP_VERSION_NVIDIA_PTX): Increment. 2015-09-28 19:37:33 +00:00
libgomp.spec.in
libgomp.texi [gomp] Add thread attribute customization 2015-09-03 11:34:28 +00:00
loop_ull.c
loop.c
Makefile.am
Makefile.in [PR libgomp/65742, PR middle-end/66332] libgomp: Remove plugin for non-shared memory host execution 2015-08-10 18:48:26 +02:00
oacc-async.c mkoffload.c (process): Support variable mapping. 2015-04-08 15:58:33 +00:00
oacc-cuda.c mkoffload.c (process): Support variable mapping. 2015-04-08 15:58:33 +00:00
oacc-host.c gomp-constants.h (GOMP_VERSION_NVIDIA_PTX): Increment. 2015-09-28 19:37:33 +00:00
oacc-init.c nvptx offloading linking 2015-10-02 21:43:41 +02:00
oacc-int.h re PR libgomp/67141 (wrong libgomp mutex initialisation order) 2015-09-22 06:45:22 +00:00
oacc-mem.c oacc-init.c (acc_shutdown_1): Call gomp_mutex_unlock for goacc_thread_lock on error paths. 2015-05-06 16:45:49 +00:00
oacc-parallel.c gomp-constants.h (GOMP_VERSION_NVIDIA_PTX): Increment. 2015-09-28 19:37:33 +00:00
oacc-plugin.c
oacc-plugin.h
omp_lib.f90.in
omp_lib.h.in
omp.h.in
openacc_lib.h [PR libgomp/65742, PR middle-end/66332] libgomp: Remove plugin for non-shared memory host execution 2015-08-10 18:48:26 +02:00
openacc.f90 [PR libgomp/65742, PR middle-end/66332] libgomp: Remove plugin for non-shared memory host execution 2015-08-10 18:48:26 +02:00
openacc.h [PR libgomp/65742, PR middle-end/66332] libgomp: Remove plugin for non-shared memory host execution 2015-08-10 18:48:26 +02:00
ordered.c
parallel.c
sections.c
single.c
splay-tree.c
splay-tree.h
target.c libgomp.map: Add 4.0.2 version. 2015-08-24 17:10:06 +00:00
task.c
team.c [gomp] Add thread attribute customization 2015-09-03 11:34:28 +00:00
work.c