* target.c (num_devices): Guard with PLUGIN_SUPPORT.
From-SVN: r219742
This commit is contained in:
parent
32e8464400
commit
973e980879
@ -1,3 +1,7 @@
|
||||
2015-01-16 Gerald Pfeifer <gerald@pfeifer.com>
|
||||
|
||||
* target.c (num_devices): Guard with PLUGIN_SUPPORT.
|
||||
|
||||
2015-01-15 Thomas Schwinge <thomas@codesourcery.com>
|
||||
James Norris <jnorris@codesourcery.com>
|
||||
Tom de Vries <tom@codesourcery.com>
|
||||
|
@ -63,8 +63,10 @@ static int num_offload_images;
|
||||
/* Array of descriptors for all available devices. */
|
||||
static struct gomp_device_descr *devices;
|
||||
|
||||
#ifdef PLUGIN_SUPPORT
|
||||
/* Total number of available devices. */
|
||||
static int num_devices;
|
||||
#endif
|
||||
|
||||
/* Number of GOMP_OFFLOAD_CAP_OPENMP_400 devices. */
|
||||
static int num_devices_openmp;
|
||||
|
Loading…
Reference in New Issue
Block a user