r226783 - in /branches/gomp-4_0-branch/gcc: Cha...
nathan@gcc.gnu.org
nathan@gcc.gnu.org
Tue Aug 11 17:17:00 GMT 2015
Author: nathan
Date: Tue Aug 11 17:17:21 2015
New Revision: 226783
URL: https://gcc.gnu.org/viewcvs?rev=226783&root=gcc&view=rev
Log:
* internal-fn.c (expand_GOACC_FORK): Use ARG_UNUSED. Rename
varible sensibly. Assert we're never reached if there is no
expansion.
(expand_GOACC_JOIN, expand_GOACC_DIM_SIZE,
expand_GOACC_DIM_POS): likewise.
* targhooks.h (default_goacc_dim_limit): Declare.
* target.def (validate_dims): Expand documentation.
(dim_limit): New hook.
* config/nvptx/nvptx.c (nvptx_reorg): Expect attribute to always
have dimensions.
(nvptx_record_offload_symbol): Likewise.
(nvptx_validate_syms): Force dimension creation and adjust.
(nvtpx_dim_limit): Define.
(TARGET_GOACC_DIM_LIMIT): Override.
* omp-low.c (expand_oacc_get_num_threads): Builtins return int not
unsigned.
(expand_oacc_get_thread_num, oacc_init_count_vars): Likewise.
(oacc_xform_dim): Result is signed.
(execute_oacc_transform): Expect dims to always be present.
(default_goacc_validate_dims): Force dimension creation.
(default_goacc_dim_limit): New.
* doc/tm.texi.in (TARGET_GOACC_DIM_LIMIT): Add.
* doc/tm.texi: Rebuilt.
Modified:
branches/gomp-4_0-branch/gcc/ChangeLog.gomp
branches/gomp-4_0-branch/gcc/config/nvptx/nvptx.c
branches/gomp-4_0-branch/gcc/doc/tm.texi
branches/gomp-4_0-branch/gcc/doc/tm.texi.in
branches/gomp-4_0-branch/gcc/internal-fn.c
branches/gomp-4_0-branch/gcc/omp-low.c
branches/gomp-4_0-branch/gcc/target.def
branches/gomp-4_0-branch/gcc/targhooks.h
More information about the Gcc-cvs
mailing list