[nvptx] Allow larger PTX_MAX_VECTOR_LENGTH in nvptx_goacc_validate_dims_1
authorTom de Vries <tdevries@suse.de>
Mon, 7 Jan 2019 08:10:37 +0000 (08:10 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Mon, 7 Jan 2019 08:10:37 +0000 (08:10 +0000)
commitccc0d492f109456db8df72938bf39fd03510d2b3
tree35dcc2291073347d75a7f1162885b3c3a591f118
parentd8ab4e5471ac962fe29929306b51bd7acc064a59
[nvptx] Allow larger PTX_MAX_VECTOR_LENGTH in nvptx_goacc_validate_dims_1

Allow PTX_MAX_VECTOR_LENGTH to be define as larger than PTX_WARP_SIZE in
nvptx_goacc_validate_dims_1.

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

* config/nvptx/nvptx.c (nvptx_welformed_vector_length_p)
(nvptx_apply_dim_limits): New function.
(nvptx_goacc_validate_dims_1): Allow PTX_MAX_VECTOR_LENGTH larger than
PTX_WARP_SIZE.

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