From 782fe2c83ba213ae44beb570a6a0e6b9af6324d6 Mon Sep 17 00:00:00 2001 From: Grzegorz Wawiorko Date: Wed, 10 Jun 2020 17:36:45 +0200 Subject: [PATCH] Test bruteforce - fix relaxedMode in unary.cpp (#818) --- test_conformance/math_brute_force/unary.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test_conformance/math_brute_force/unary.cpp b/test_conformance/math_brute_force/unary.cpp index 7a98cd1f..3ed2ed16 100644 --- a/test_conformance/math_brute_force/unary.cpp +++ b/test_conformance/math_brute_force/unary.cpp @@ -260,6 +260,7 @@ int TestFunc_Float_Float(const Func *f, MTdata d, bool relaxedMode) test_info.f = f; test_info.ulps = gIsEmbedded ? f->float_embedded_ulps : f->float_ulps; test_info.ftz = f->ftz || gForceFTZ || 0 == (CL_FP_DENORM & gFloatCapabilities); + test_info.relaxedMode = relaxedMode; // cl_kernels aren't thread safe, so we make one for each vector size for every thread for( i = gMinVectorSizeIndex; i < gMaxVectorSizeIndex; i++ ) {