mirror of
https://github.com/amd/blis.git
synced 2026-04-20 23:58:51 +00:00
Updated Poly 16 in Gelu Erf to double precision
Updated poly Gelu Erf precision to double to keep the error with in 1e-5 limit when compared to reference gelu_erf, which is also increased the compute to 2x compared to float. AMD-Internal: SWLCSG-3551
This commit is contained in:
@@ -645,8 +645,8 @@ void mat_mul_accuracy_check_driver_ ## BLAS_SFX \
|
||||
GEN_FUNC_NAME(C_type,_to_float)(*( c + ( rs_c * i ) + ( cs_c * j ) ), &comp_float); \
|
||||
GEN_FUNC_NAME(C_type,_to_float)(out_temp_accum, &ref_float); \
|
||||
\
|
||||
if ( ( ( comp_float - ref_float ) > 1.0E-5 ) || \
|
||||
( ( ref_float - comp_float ) > 1.0E-5 ) ) \
|
||||
if ( ( ( comp_float - ref_float ) / (ref_float) > 1.0E-5 ) || \
|
||||
( ( ref_float - comp_float ) / (comp_float) > 1.0E-5 ) ) \
|
||||
{ \
|
||||
if ( fout ) \
|
||||
{ \
|
||||
|
||||
Reference in New Issue
Block a user