Test bruteforce - fix relaxedMode in unary.cpp (#818)

This commit is contained in:
Grzegorz Wawiorko
2020-06-10 17:36:45 +02:00
committed by GitHub
parent ecee2c18d2
commit 782fe2c83b

View File

@@ -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++ )
{