mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-25 00:09:02 +00:00
Add OSX to the list of Travis CI OSes
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
This commit is contained in:
@@ -2,6 +2,7 @@ language: cpp
|
|||||||
|
|
||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
|
- osx
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- export TOP=$(pwd)
|
- export TOP=$(pwd)
|
||||||
|
|||||||
@@ -790,7 +790,6 @@ float get_max_relative_error( cl_image_format *format, image_sampler_data *sampl
|
|||||||
{
|
{
|
||||||
if( sampler->filter_mode != CL_FILTER_NEAREST )
|
if( sampler->filter_mode != CL_FILTER_NEAREST )
|
||||||
{
|
{
|
||||||
extern cl_device_type gDeviceType;
|
|
||||||
// The maximum
|
// The maximum
|
||||||
if( gDeviceType == CL_DEVICE_TYPE_GPU )
|
if( gDeviceType == CL_DEVICE_TYPE_GPU )
|
||||||
maxError += MAKE_HEX_FLOAT(0x1.0p-4f, 0x1L, -4); // Some GPUs ain't so accurate
|
maxError += MAKE_HEX_FLOAT(0x1.0p-4f, 0x1L, -4); // Some GPUs ain't so accurate
|
||||||
|
|||||||
Reference in New Issue
Block a user