Add OSX to the list of Travis CI OSes

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
This commit is contained in:
Kevin Petit
2018-11-07 10:30:37 +00:00
committed by Kévin Petit
parent 3b577bb13a
commit de6c3db41b
2 changed files with 1 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ language: cpp
os: os:
- linux - linux
- osx
script: script:
- export TOP=$(pwd) - export TOP=$(pwd)

View File

@@ -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