mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-25 08:19:02 +00:00
[NFC] math_brute_force: add type argument to getAllowedUlpError (#2017)
Add a type argument so that in the future we can request the ULP requirement for fp16 and fp64 types through `getAllowedUlpError` too. Contributes to https://github.com/KhronosGroup/OpenCL-CTS/issues/867 Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
committed by
GitHub
parent
a773a379d9
commit
c083a87b35
@@ -257,7 +257,7 @@ int compareDoubles(double x, double y);
|
||||
void logFunctionInfo(const char *fname, unsigned int float_size,
|
||||
unsigned int isFastRelaxed);
|
||||
|
||||
float getAllowedUlpError(const Func *f, const bool relaxed);
|
||||
float getAllowedUlpError(const Func *f, Type t, const bool relaxed);
|
||||
|
||||
inline cl_uint getTestScale(size_t typeSize)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user