#include <limits>
#include "../common.hpp"
#include "comparison_funcs.hpp"
#include "exponential_funcs.hpp"
#include "floating_point_funcs.hpp"
#include "half_math_funcs.hpp"
#include "logarithmic_funcs.hpp"
#include "other_funcs.hpp"
#include "power_funcs.hpp"
#include "trigonometric_funcs.hpp"
int main(int argc, const char *argv[])
{
if(!std::numeric_limits<cl_float>::is_iec559)
{
RETURN_ON_ERROR_MSG(-1,
"cl_float (float) does not fulfill the requirements of IEC 559 (IEEE 754) standard. "
"Tests won't run correctly."
);
}
if(!std::numeric_limits<cl_double>::is_iec559)
{
RETURN_ON_ERROR_MSG(-1,
"cl_double (double) does not fulfill the requirements of IEC 559 (IEEE 754) standard. "
"Tests won't run correctly."
);
}
auto& tests = autotest::test_suite::global_test_suite().test_defs;
return runTestHarness(argc, argv, tests.size(), tests.data(), false, 0);
}