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

@@ -26,7 +26,6 @@
#define MAX_HALF_LINEAR_ERR 0.3f
extern bool gDebugTrace, gTestSmallImages, gEnablePitch, gTestMaxImages, gTestRounding, gDeviceLt20;
extern cl_device_type gDeviceType;
extern bool gTestReadWrite;
#define MAX_TRIES 1