mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
set gDeviceType in testharness.c (#597)
* set gDeviceType in testharness.c, also moved gTestRounding to imageHelpers.cpp & .h and removed duplicate code from host_atomics.cpp * Cleaned up some redundant code * Reversed the change in testharness.c
This commit is contained in:
@@ -28,7 +28,7 @@ static cl_ushort float2half_rte( float f );
|
||||
static cl_ushort float2half_rtz( float f );
|
||||
|
||||
cl_device_type gDeviceType = CL_DEVICE_TYPE_DEFAULT;
|
||||
|
||||
bool gTestRounding = false;
|
||||
double
|
||||
sRGBmap(float fc)
|
||||
{
|
||||
@@ -1186,7 +1186,6 @@ cl_ulong get_image_size_mb( image_descriptor const *imageInfo )
|
||||
}
|
||||
|
||||
|
||||
extern bool gTestRounding;
|
||||
uint64_t gRoundingStartValue = 0;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user