mirror of git://gcc.gnu.org/git/gcc.git
plugin-nvptx.c (nvptx_exec): Remove check on compute dimensions.
* plugin/plugin-nvptx.c (nvptx_exec): Remove check on compute dimensions. From-SVN: r229471
This commit is contained in:
parent
b2b293775a
commit
a1c1908bbd
|
|
@ -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>
|
2015-10-27 Thomas Schwinge <thomas@codesourcery.com>
|
||||||
|
|
||||||
PR testsuite/68063
|
PR testsuite/68063
|
||||||
|
|
|
||||||
|
|
@ -902,13 +902,6 @@ nvptx_exec (void (*fn), size_t mapnum, void **hostaddrs, void **devaddrs,
|
||||||
if (targ_fn->launch->dim[i])
|
if (targ_fn->launch->dim[i])
|
||||||
dims[i] = 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
|
/* 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 host and the device. HP is a host pointer to the new chunk, and DP is
|
||||||
the corresponding device pointer. */
|
the corresponding device pointer. */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue