mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-24 15:59:03 +00:00
Conversion to testHarness - math_brute_force
Signed-off-by: Radek Szymanski <radek.szymanski@arm.com>
This commit is contained in:
committed by
Kévin Petit
parent
aadfe3c5a7
commit
084828bbd8
@@ -567,7 +567,7 @@ int TestFunc_Double_ULong(const Func *f, MTdata d)
|
||||
{
|
||||
double test = ((double*) q)[j];
|
||||
long double correct = f->dfunc.f_u( s[j] );
|
||||
float err = Ulp_Error_Double(test, correct);
|
||||
float err = Bruteforce_Ulp_Error_Double(test, correct);
|
||||
int fail = ! (fabsf(err) <= f->double_ulps);
|
||||
|
||||
// half_sin/cos/tan are only valid between +-2**16, Inf, NaN
|
||||
|
||||
Reference in New Issue
Block a user