From de6c3db41ba3dfc345321afe2612d0d99a16c7f3 Mon Sep 17 00:00:00 2001 From: Kevin Petit Date: Wed, 7 Nov 2018 10:30:37 +0000 Subject: [PATCH] Add OSX to the list of Travis CI OSes Signed-off-by: Kevin Petit --- .travis.yml | 1 + test_common/harness/imageHelpers.cpp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 966f1b81..0cea1208 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,7 @@ language: cpp os: - linux + - osx script: - export TOP=$(pwd) diff --git a/test_common/harness/imageHelpers.cpp b/test_common/harness/imageHelpers.cpp index 3b47e271..7606d1a3 100644 --- a/test_common/harness/imageHelpers.cpp +++ b/test_common/harness/imageHelpers.cpp @@ -790,7 +790,6 @@ float get_max_relative_error( cl_image_format *format, image_sampler_data *sampl { if( sampler->filter_mode != CL_FILTER_NEAREST ) { - extern cl_device_type gDeviceType; // The maximum if( gDeviceType == CL_DEVICE_TYPE_GPU ) maxError += MAKE_HEX_FLOAT(0x1.0p-4f, 0x1L, -4); // Some GPUs ain't so accurate