Commit 973e9808 by Gerald Pfeifer Committed by Gerald Pfeifer

* target.c (num_devices): Guard with PLUGIN_SUPPORT.

From-SVN: r219742
parent 32e84644
2015-01-16 Gerald Pfeifer <gerald@pfeifer.com>
* target.c (num_devices): Guard with PLUGIN_SUPPORT.
2015-01-15 Thomas Schwinge <thomas@codesourcery.com> 2015-01-15 Thomas Schwinge <thomas@codesourcery.com>
James Norris <jnorris@codesourcery.com> James Norris <jnorris@codesourcery.com>
Tom de Vries <tom@codesourcery.com> Tom de Vries <tom@codesourcery.com>
......
...@@ -63,8 +63,10 @@ static int num_offload_images; ...@@ -63,8 +63,10 @@ static int num_offload_images;
/* Array of descriptors for all available devices. */ /* Array of descriptors for all available devices. */
static struct gomp_device_descr *devices; static struct gomp_device_descr *devices;
#ifdef PLUGIN_SUPPORT
/* Total number of available devices. */ /* Total number of available devices. */
static int num_devices; static int num_devices;
#endif
/* Number of GOMP_OFFLOAD_CAP_OPENMP_400 devices. */ /* Number of GOMP_OFFLOAD_CAP_OPENMP_400 devices. */
static int num_devices_openmp; static int num_devices_openmp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment