[nvptx] Eliminate PTX_VECTOR_LENGTH
authorTom de Vries <tdevries@suse.de>
Mon, 7 Jan 2019 08:10:08 +0000 (08:10 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Mon, 7 Jan 2019 08:10:08 +0000 (08:10 +0000)
commit764ecad43b6cac2d2eded706fccd29cc15481ad2
treedab5c71e8adfaedffcb2707b7b161558ae2ae651
parent21fbea5c338f96a5f291ca8e4bc68a4dfbf6af6d
[nvptx] Eliminate PTX_VECTOR_LENGTH

Remove PTX_VECTOR_LENGTH and replace uses of it with PTX_DEFAULT_VECTOR_LENGTH,
PTX_MAX_VECTOR_LENGTH and PTX_WARP_SIZE.

2019-01-07  Tom de Vries  <tdevries@suse.de>

* config/nvptx/nvptx.c (PTX_VECTOR_LENGTH): Remove.
(PTX_DEFAULT_VECTOR_LENGTH, PTX_MAX_VECTOR_LENGTH): Define.
(nvptx_goacc_validate_dims_1, nvptx_dim_limit)
(nvptx_goacc_reduction_fini): Use PTX_DEFAULT_VECTOR_LENGTH,
PTX_MAX_VECTOR_LENGTH and PTX_WARP_SIZE instead of PTX_VECTOR_LENGTH.

From-SVN: r267626
gcc/ChangeLog
gcc/config/nvptx/nvptx.c