Fix relaxed mode in math bruteforce - binaryOperator (#828)

This commit is contained in:
Grzegorz Wawiorko
2020-06-15 13:00:14 +02:00
committed by GitHub
parent eb4afc9547
commit 105a3aff62

View File

@@ -289,6 +289,7 @@ int TestFunc_Float_Float_Float_Operator(const Func *f, MTdata d,
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++ )