From: nathan Date: Wed, 28 Oct 2015 03:00:10 +0000 (+0000) Subject: * plugin/plugin-nvptx.c (nvptx_exec): Remove check on compute X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7c7a697865b94e2729f14b0e26b05acf16021575;p=thirdparty%2Fgcc.git * plugin/plugin-nvptx.c (nvptx_exec): Remove check on compute dimensions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229471 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 019450399fc8..0f6fd91de1f7 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,8 @@ +2015-10-27 Nathan Sidwell + + * plugin/plugin-nvptx.c (nvptx_exec): Remove check on compute + dimensions. + 2015-10-27 Thomas Schwinge PR testsuite/68063 diff --git a/libgomp/plugin/plugin-nvptx.c b/libgomp/plugin/plugin-nvptx.c index 9b846378a11d..5c9334900c20 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. */