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

@@ -23,7 +23,6 @@
// FIXME: To use certain functions in harness/imageHelpers.h
// (for example, generate_random_image_data()), the tests are required to declare
// the following variables (<rdar://problem/11111245>):
cl_device_type gDeviceType = CL_DEVICE_TYPE_DEFAULT;
bool gTestRounding = false;
test_definition test_list[] = {