Moved all instances of gDeviceType to imageHelper.cpp (#575)

* Moved all instances of gDeviceType to imageHelper.cpp

* Missed one instance of gDeviceType

* Removed all instances of extern cl_device_type gDeviceType, except in imageHelpers.h
This commit is contained in:
jiabaxie
2020-02-06 02:27:14 -05:00
committed by GitHub
parent 2ad175fb57
commit 68d08e07bf
23 changed files with 2 additions and 23 deletions

View File

@@ -22,7 +22,6 @@
// FIXME: To use certain functions in test_common/harness/imageHelpers.h
// (for example, generate_random_image_data()), the tests are required to declare
// the following variable (hangover from code specific to Apple's implementation):
cl_device_type gDeviceType = CL_DEVICE_TYPE_DEFAULT;
int main(int argc, const char *argv[])
{