[nvptx] Enable setting vector length using -fopenacc-dim
authorTom de Vries <tdevries@suse.de>
Sat, 12 Jan 2019 22:19:15 +0000 (22:19 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Sat, 12 Jan 2019 22:19:15 +0000 (22:19 +0000)
commit2c2ff1684dd33a4ec2ea7b91c0ada9cf371bf75f
tree61235a7b30ab9a56f66607d3efcf978ca3f07463
parenta10577582585850c88b77dbc492eb046c05e79ce
[nvptx] Enable setting vector length using -fopenacc-dim

Enable setting vector length using -fopenacc-dim, f.i. -fopenacc-dim=::128.

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

* config/nvptx/nvptx.c (nvptx_goacc_validate_dims_1): Alow setting
vector length using -fopenacc-dim.

* plugin/plugin-nvptx.c (nvptx_exec): Update error message.

From-SVN: r267896
gcc/ChangeLog
gcc/config/nvptx/nvptx.c
libgomp/ChangeLog
libgomp/plugin/plugin-nvptx.c