libgomp updates.
commit1c4f05a68c6d0d5b6137bb6d85a293d16727b389
authortschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Dec 2014 22:23:02 +0000 (17 22:23 +0000)
committertschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Dec 2014 22:23:02 +0000 (17 22:23 +0000)
treedc6c3a5605b9f6be735b82a8c8b32b44b20924af
parent01c48eb7ca8a04ca001a2caef57929c3ba40512f
libgomp updates.

libgomp/
* configure.ac: Rename from GNU OpenMP Runtime Library to GNU
Offloading and Multi Processing Runtime Library.  Change all
users.

libgomp/
* plugin/Makefile.am: Rework into...
* plugin/Makefrag.am: ... this new file, and
* plugin/configure.ac: rework into...
* plugin/configfrag.ac: ... this new file.  Change all users.
* configure.ac: Move plugin/offloading handling...
* plugin/configfrag.ac: ... here.

libgomp/
* env.c (initialize_env): Don't look for GCC_ACC_NOTIFY but for
GOMP_DEBUG.  Document it in the libgomp manual.
* libgomp-plugin.h: Rename GOMP_PLUGIN_notify to
GOMP_PLUGIN_debug.  Change all users.
* libgomp.h: Rename goacc_notify_var to gomp_debug_var,
gomp_vnotify to gomp_vdebug, and gomp_notify to gomp_debug.
Change all users.  Add kind argument to gomp_vdebug and
gomp_debug.  Change all users.

libgomp/
* libgomp_g.h: Remove names of formal parameters.

libgomp/
* libgomp_target.h: Rename ACC_dispatch_t to acc_dispatch_t.
Change all users.
* oacc-init.c: Rename _acc_init to acc_init_1, and _acc_shutdown
to acc_shutdown_1.  Change all users.
* oacc-int.h: Rename ACC_register to goacc_register,
ACC_runtime_initialize to goacc_runtime_initialize,
ACC_save_and_set_bind to goacc_save_and_set_bind, ACC_restore_bind
to goacc_restore_bind, and ACC_lazy_initialize to
goacc_lazy_initialize.  Change all users.
* plugin/plugin-nvptx.c: Rename cuErrorList to cuda_errlist,
cuErrorMsg to cuda_error, cuSymNames to cuda_symnames, PTX_inited
to ptx_inited, PTX_stream to ptx_stream, PTX_device to ptx_device,
PTX_event to ptx_event, PTX_event_type to ptx_event_type, PTX_init
to nvptx_init, , PTX_fini to nvptx_fini, PTX_open_device to
nvptx_open_device, PTX_close_device to nvptx_close_device,
PTX_get_num_devices to nvptx_get_num_devices, PTX_exec to
nvptx_exec, PTX_alloc to nvptx_alloc, PTX_free to nvptx_free,
PTX_host2dev to nvptx_host2dev, PTX_dev2host to nvptx_dev2host,
PTX_set_async to nvptx_set_async, PTX_async_test to
nvptx_async_test, PTX_async_test_all to nvptx_async_test_all,
PTX_wait to nvptx_wait, PTX_wait_async to nvptx_wait_async,
PTX_wait_all to nvptx_wait_all, PTX_wait_all_async to
nvptx_wait_all_async, PTX_get_current_cuda_device to
nvptx_get_current_cuda_device, PTX_get_current_cuda_context to
nvptx_get_current_cuda_context, PTX_get_cuda_stream to
nvptx_get_cuda_stream, PTX_set_cuda_stream to
nvptx_set_cuda_stream.  Change all users.

libgomp/
* oacc-parallel.c (GOACC_kernels): Pass 0 instead of num_waits in
GOACC_parallel invocation.

libgomp/
* plugin/plugin-host.c: Remove all DEBUG code.
* plugin/plugin-nvptx.c: Likewise.

libgomp/
* plugin/plugin-host.c (GOMP_OFFLOAD_get_caps): Don't claim
TARGET_CAP_OPENMP_400.

libgomp/
* testsuite/libgomp.oacc-c-c++-common/lib-11.c: Restrict to target
openacc_nvidia_accel_selected.

libgomp/
* testsuite/libgomp.oacc-c-c++-common/lib-38.c: Remove wrong
check.

libgomp/
* testsuite/libgomp.oacc-c-c++-common/lib-9.c: Fix wrong check.

include/
* gomp-constants.h: Don't define GOMP_MAP_FORCE_PRIVATE and
GOMP_MAP_FORCE_FIRSTPRIVATE.  Change all users.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gomp-4_0-branch@218839 138bc75d-0d04-0410-961f-82ee72b054a4
114 files changed:
contrib/gcc_update
gcc/doc/install.texi
gcc/doc/sourcebuild.texi
gcc/fortran/gfortran.texi
gcc/fortran/intrinsic.texi
include/ChangeLog.gomp
include/gomp-constants.h
libgomp/ChangeLog.gomp
libgomp/Makefile.am
libgomp/Makefile.in
libgomp/alloc.c
libgomp/barrier.c
libgomp/config.h.in
libgomp/config/bsd/proc.c
libgomp/config/linux/affinity.c
libgomp/config/linux/alpha/futex.h
libgomp/config/linux/bar.c
libgomp/config/linux/bar.h
libgomp/config/linux/futex.h
libgomp/config/linux/ia64/futex.h
libgomp/config/linux/lock.c
libgomp/config/linux/mips/futex.h
libgomp/config/linux/mutex.c
libgomp/config/linux/mutex.h
libgomp/config/linux/powerpc/futex.h
libgomp/config/linux/proc.c
libgomp/config/linux/proc.h
libgomp/config/linux/ptrlock.c
libgomp/config/linux/ptrlock.h
libgomp/config/linux/s390/futex.h
libgomp/config/linux/sem.c
libgomp/config/linux/sem.h
libgomp/config/linux/sparc/futex.h
libgomp/config/linux/tile/futex.h
libgomp/config/linux/wait.h
libgomp/config/linux/x86/futex.h
libgomp/config/mingw32/proc.c
libgomp/config/mingw32/time.c
libgomp/config/posix/affinity.c
libgomp/config/posix/bar.c
libgomp/config/posix/bar.h
libgomp/config/posix/lock.c
libgomp/config/posix/mutex.h
libgomp/config/posix/proc.c
libgomp/config/posix/ptrlock.h
libgomp/config/posix/sem.c
libgomp/config/posix/sem.h
libgomp/config/posix/time.c
libgomp/configure
libgomp/configure.ac
libgomp/critical.c
libgomp/env.c
libgomp/error.c
libgomp/fortran.c
libgomp/iter.c
libgomp/iter_ull.c
libgomp/libgomp-plugin.c
libgomp/libgomp-plugin.h
libgomp/libgomp.h
libgomp/libgomp.map
libgomp/libgomp.texi
libgomp/libgomp_f.h.in
libgomp/libgomp_g.h
libgomp/libgomp_target.h
libgomp/loop.c
libgomp/loop_ull.c
libgomp/oacc-async.c
libgomp/oacc-cuda.c
libgomp/oacc-host.c
libgomp/oacc-init.c
libgomp/oacc-int.h
libgomp/oacc-mem.c
libgomp/oacc-parallel.c
libgomp/oacc-plugin.c
libgomp/oacc-plugin.h
libgomp/omp.h.in
libgomp/omp_lib.f90.in
libgomp/omp_lib.h.in
libgomp/openacc.f90
libgomp/openacc.h
libgomp/openacc_lib.h
libgomp/ordered.c
libgomp/parallel.c
libgomp/plugin/Makefile.in [deleted file]
libgomp/plugin/Makefrag.am [moved from libgomp/plugin/Makefile.am with 70% similarity]
libgomp/plugin/aclocal.m4 [deleted file]
libgomp/plugin/config.h.in [deleted file]
libgomp/plugin/configfrag.ac [new file with mode: 0644]
libgomp/plugin/configure [deleted file]
libgomp/plugin/configure.ac [deleted file]
libgomp/plugin/plugin-host.c
libgomp/plugin/plugin-nvptx.c
libgomp/sections.c
libgomp/single.c
libgomp/splay-tree.c
libgomp/splay-tree.h
libgomp/target.c
libgomp/task.c
libgomp/team.c
libgomp/testsuite/Makefile.in
libgomp/testsuite/lib/libgomp.exp
libgomp/testsuite/libgomp-test-support.exp.in [moved from libgomp/plugin/libgomp-test-support.exp.in with 100% similarity]
libgomp/testsuite/libgomp.oacc-c++/c++.exp
libgomp/testsuite/libgomp.oacc-c-c++-common/if-1.c
libgomp/testsuite/libgomp.oacc-c-c++-common/lib-11.c
libgomp/testsuite/libgomp.oacc-c-c++-common/lib-38.c
libgomp/testsuite/libgomp.oacc-c-c++-common/lib-9.c
libgomp/work.c
liboffloadmic/plugin/Makefile.am
liboffloadmic/plugin/Makefile.in
liboffloadmic/plugin/configure.ac
liboffloadmic/plugin/libgomp-plugin-intelmic.cpp
liboffloadmic/plugin/offload_target_main.cpp
libstdc++-v3/doc/xml/manual/parallel_mode.xml