aboutsummaryrefslogtreecommitdiff
path: root/libgomp/plugin
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2019-01-12 22:19:15 +0000
committerTom de Vries <vries@gcc.gnu.org>2019-01-12 22:19:15 +0000
commit2c2ff1684dd33a4ec2ea7b91c0ada9cf371bf75f (patch)
tree61235a7b30ab9a56f66607d3efcf978ca3f07463 /libgomp/plugin
parenta10577582585850c88b77dbc492eb046c05e79ce (diff)
downloadgcc-2c2ff1684dd33a4ec2ea7b91c0ada9cf371bf75f.zip
gcc-2c2ff1684dd33a4ec2ea7b91c0ada9cf371bf75f.tar.gz
gcc-2c2ff1684dd33a4ec2ea7b91c0ada9cf371bf75f.tar.bz2
[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
Diffstat (limited to 'libgomp/plugin')
-rw-r--r--libgomp/plugin/plugin-nvptx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgomp/plugin/plugin-nvptx.c b/libgomp/plugin/plugin-nvptx.c
index 8912660..dd2bcf3 100644
--- a/libgomp/plugin/plugin-nvptx.c
+++ b/libgomp/plugin/plugin-nvptx.c
@@ -1321,7 +1321,7 @@ nvptx_exec (void (*fn), size_t mapnum, void **hostaddrs, void **devaddrs,
" region or '-fopenacc-dim=:x:' where x <= 15"
"; "
"or, recompile the program with 'vector_length = 32' on that"
- " offloaded region"
+ " offloaded region or '-fopenacc-dim=::32'"
".\n");
GOMP_PLUGIN_fatal (msg, targ_fn->launch->fn, dims[GOMP_DIM_WORKER],
dims[GOMP_DIM_VECTOR]);