nvptx.c (nvptx_goacc_validate_dims): New.
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 30 Sep 2015 19:16:29 +0000 (19:16 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 30 Sep 2015 19:16:29 +0000 (19:16 +0000)
commit94829f87ca78fa846fdf1140c4a2af802488fb8f
treef710b1d5f6f8b031a6772ee5bbe8b6b99a692f7d
parent9a9fe2b4d216494a9992a354c337c8b2279c43b8
nvptx.c (nvptx_goacc_validate_dims): New.

* config/nvptx/nvptx.c (nvptx_goacc_validate_dims): New.
(TARGET_GOACC_VALIDATE_DIMS): Override.
* target.def (TARGET_GOACC): New target hook prefix.
(validate_dims): New hook.
* targhooks.h (default_goacc_validate_dims): New.
* omp-low.c (oacc_validate_dims): New.
(execute_oacc_device_lower): New.
(default_goacc_validate_dims): New.
(pass_data_oacc_device_lower): New.
(pass_oacc_device_lower): New pass.
(make_pass_oacc_device_lower): New.
* tree-pass.h (make_pass_oacc_device_lower): Declare.
* passes.def (pass_oacc_device_lower): Add it.
* doc/tm.texi: Rebuilt.
* doc/tm.texi.in (TARGET_GOACC_VALIDATE_DIMS): Add hook.
* doc/invoke.texi (oaccdevlow): Document tree dump flag.

Co-Authored-By: Cesar Philippidis <cesar@codesourcery.com>
From-SVN: r228304
gcc/ChangeLog
gcc/config/nvptx/nvptx.c
gcc/doc/invoke.texi
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/omp-low.c
gcc/passes.def
gcc/target.def
gcc/targhooks.h
gcc/tree-pass.h