mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Report inputs for worst errors (#1231)
Builtin functions producing two results can have their worst error, for each result, on different inputs. Report both inputs. Signed-off-by: Marco Antognini <marco.antognini@arm.com>
This commit is contained in:
@@ -562,7 +562,8 @@ int TestFunc_DoubleI_Double_Double(const Func *f, MTdata d, bool relaxedMode)
|
||||
else
|
||||
vlog("passed");
|
||||
|
||||
vlog("\t{%8.2f, %lld} @ %a", maxError, maxError2, maxErrorVal);
|
||||
vlog("\t{%8.2f, %lld} @ {%a, %a}", maxError, maxError2, maxErrorVal,
|
||||
maxErrorVal2);
|
||||
}
|
||||
|
||||
vlog("\n");
|
||||
|
||||
@@ -547,7 +547,8 @@ int TestFunc_FloatI_Float_Float(const Func *f, MTdata d, bool relaxedMode)
|
||||
else
|
||||
vlog("passed");
|
||||
|
||||
vlog("\t{%8.2f, %lld} @ %a", maxError, maxError2, maxErrorVal);
|
||||
vlog("\t{%8.2f, %lld} @ {%a, %a}", maxError, maxError2, maxErrorVal,
|
||||
maxErrorVal2);
|
||||
}
|
||||
|
||||
vlog("\n");
|
||||
|
||||
@@ -400,7 +400,8 @@ int TestFunc_DoubleI_Double(const Func *f, MTdata d, bool relaxedMode)
|
||||
else
|
||||
vlog("passed");
|
||||
|
||||
vlog("\t{%8.2f, %lld} @ %a", maxError, maxError2, maxErrorVal);
|
||||
vlog("\t{%8.2f, %lld} @ {%a, %a}", maxError, maxError2, maxErrorVal,
|
||||
maxErrorVal2);
|
||||
}
|
||||
|
||||
vlog("\n");
|
||||
|
||||
@@ -398,7 +398,8 @@ int TestFunc_FloatI_Float(const Func *f, MTdata d, bool relaxedMode)
|
||||
else
|
||||
vlog("passed");
|
||||
|
||||
vlog("\t{%8.2f, %lld} @ %a", maxError, maxError2, maxErrorVal);
|
||||
vlog("\t{%8.2f, %lld} @ {%a, %a}", maxError, maxError2, maxErrorVal,
|
||||
maxErrorVal2);
|
||||
}
|
||||
|
||||
vlog("\n");
|
||||
|
||||
Reference in New Issue
Block a user