Rename check_err() parameter

This commit is contained in:
Po Yen Chen
2024-04-09 14:58:25 +00:00
parent 93f608123d
commit a11a56e54c
2 changed files with 7 additions and 7 deletions

View File

@@ -117,15 +117,15 @@ auto get_elimit<ck_tile::fp8_t>(int init_method)
{
if(init_method == 0)
{
unsigned max_rounding_error_distance = 0;
unsigned max_rounding_point_distance = 0;
double atol = 2e-3;
return ck_tile::make_tuple(max_rounding_error_distance, atol);
return ck_tile::make_tuple(max_rounding_point_distance, atol);
}
else
{
unsigned max_rounding_error_distance = 1;
unsigned max_rounding_point_distance = 1;
double atol = 0.0625;
return ck_tile::make_tuple(max_rounding_error_distance, atol);
return ck_tile::make_tuple(max_rounding_point_distance, atol);
}
}