diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2015-10-28 03:00:10 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2015-10-28 03:00:10 +0000 |
commit | a1c1908bbd8b298e601f85d76ffa19a487c54ea2 (patch) | |
tree | ccfb1ee08b195ad6150071c9120e96aefaddf09d /libgomp | |
parent | b2b293775a27c9f0099e9ccbf4ff965e79313c68 (diff) | |
download | gcc-a1c1908bbd8b298e601f85d76ffa19a487c54ea2.zip gcc-a1c1908bbd8b298e601f85d76ffa19a487c54ea2.tar.gz gcc-a1c1908bbd8b298e601f85d76ffa19a487c54ea2.tar.bz2 |
plugin-nvptx.c (nvptx_exec): Remove check on compute dimensions.
* plugin/plugin-nvptx.c (nvptx_exec): Remove check on compute
dimensions.
From-SVN: r229471
Diffstat (limited to 'libgomp')
-rw-r--r-- | libgomp/ChangeLog | 5 | ||||
-rw-r--r-- | libgomp/plugin/plugin-nvptx.c | 7 |
2 files changed, 5 insertions, 7 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 0194503..0f6fd91 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,8 @@ +2015-10-27 Nathan Sidwell <nathan@codesourcery.com> + + * plugin/plugin-nvptx.c (nvptx_exec): Remove check on compute + dimensions. + 2015-10-27 Thomas Schwinge <thomas@codesourcery.com> PR testsuite/68063 diff --git a/libgomp/plugin/plugin-nvptx.c b/libgomp/plugin/plugin-nvptx.c index 9b84637..5c93349 100644 --- a/libgomp/plugin/plugin-nvptx.c +++ b/libgomp/plugin/plugin-nvptx.c @@ -902,13 +902,6 @@ nvptx_exec (void (*fn), size_t mapnum, void **hostaddrs, void **devaddrs, if (targ_fn->launch->dim[i]) dims[i] = targ_fn->launch->dim[i]; - if (dims[GOMP_DIM_GANG] != 1) - GOMP_PLUGIN_fatal ("non-unity num_gangs (%d) not supported", - dims[GOMP_DIM_GANG]); - if (dims[GOMP_DIM_WORKER] != 1) - GOMP_PLUGIN_fatal ("non-unity num_workers (%d) not supported", - dims[GOMP_DIM_WORKER]); - /* This reserves a chunk of a pre-allocated page of memory mapped on both the host and the device. HP is a host pointer to the new chunk, and DP is the corresponding device pointer. */ |