Skip to content

Commit

Permalink
[XLA:CPU] Disable a subset of failing test cases in complex_unary_op_…
Browse files Browse the repository at this point in the history
…test on ARM.

PiperOrigin-RevId: 701959687
  • Loading branch information
WillFroom authored and Google-ML-Automation committed Dec 2, 2024
1 parent 99649a8 commit ebd7920
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion xla/tests/complex_unary_op_samples.h
Original file line number Diff line number Diff line change
Expand Up @@ -1126,9 +1126,13 @@ struct Tan {
/* 123 */ { { -1.9999999999998694e+00, -min }, { 2.185039863262273e+00, -1.2848464717505794e-307 }, 2.5e-01 },
/* 124 */ { { -4.4647944971961829e-103, -min }, { -4.4647944971961829e-103, -min }, 2.2397447421778042e+102 },
/* 125 */ { { -9.9671949510973086e-206, -min }, { -9.9671949510973086e-206, -min }, 1.0032913020226237e+205 },
#ifndef __aarch64__ // Seems that denormalized values are being flushed to zero on arm (see b/342448599)
/* 126 */ { { -min, -min }, { -min, -min }, 2.2471164185778949e+307 },
#endif
/* 127 */ { { zero, -min }, { zero, -min }, 2.2471164185778949e+307 },
#ifndef __aarch64__ // Seems that denormalized values are being flushed to zero on arm (see b/342448599)
/* 128 */ { { min, -min }, { min, -min }, 2.2471164185778949e+307 },
#endif
/* 129 */ { { 9.9671949510973086e-206, -min }, { 9.9671949510973086e-206, -min }, 1.0032913020226237e+205 },
/* 130 */ { { 4.4647944971961829e-103, -min }, { 4.4647944971961829e-103, -min }, 2.2397447421778042e+102 },
/* 131 */ { { 1.9999999999998694e+00, -min }, { -2.185039863262273e+00, -1.2848464717505794e-307 }, 2.5e-01 },
Expand All @@ -1143,9 +1147,13 @@ struct Tan {
/* 140 */ { { -1.9999999999998694e+00, zero }, { 2.185039863262273e+00, zero }, 2.5e-01 },
/* 141 */ { { -4.4647944971961829e-103, zero }, { -4.4647944971961829e-103, zero }, 2.2397447421778042e+102 },
/* 142 */ { { -9.9671949510973086e-206, zero }, { -9.9671949510973086e-206, zero }, 1.0032913020226237e+205 },
#ifndef __aarch64__ // Seems that denormalized values are being flushed to zero on arm (see b/342448599)
/* 143 */ { { -min, zero }, { -min, zero }, 2.2471164185778949e+307 },
#endif
/* 144 */ { { zero, zero }, { zero, zero }, 1.e+00 },
#ifndef __aarch64__ // Seems that denormalized values are being flushed to zero on arm (see b/342448599)
/* 145 */ { { min, zero }, { min, zero }, 2.2471164185778949e+307 },
#endif
/* 146 */ { { 9.9671949510973086e-206, zero }, { 9.9671949510973086e-206, zero }, 1.0032913020226237e+205 },
/* 147 */ { { 4.4647944971961829e-103, zero }, { 4.4647944971961829e-103, zero }, 2.2397447421778042e+102 },
/* 148 */ { { 1.9999999999998694e+00, zero }, { -2.185039863262273e+00, zero }, 2.5e-01 },
Expand All @@ -1160,9 +1168,13 @@ struct Tan {
/* 157 */ { { -1.9999999999998694e+00, min }, { 2.185039863262273e+00, 1.2848464717505794e-307 }, 2.5e-01 },
/* 158 */ { { -4.4647944971961829e-103, min }, { -4.4647944971961829e-103, min }, 2.2397447421778042e+102 },
/* 159 */ { { -9.9671949510973086e-206, min }, { -9.9671949510973086e-206, min }, 1.0032913020226237e+205 },
#ifndef __aarch64__ // Seems that denormalized values are being flushed to zero on arm (see b/342448599)
/* 160 */ { { -min, min }, { -min, min }, 2.2471164185778949e+307 },
#endif
/* 161 */ { { zero, min }, { zero, min }, 2.2471164185778949e+307 },
#ifndef __aarch64__ // Seems that denormalized values are being flushed to zero on arm (see b/342448599)
/* 162 */ { { min, min }, { min, min }, 2.2471164185778949e+307 },
#endif
/* 163 */ { { 9.9671949510973086e-206, min }, { 9.9671949510973086e-206, min }, 1.0032913020226237e+205 },
/* 164 */ { { 4.4647944971961829e-103, min }, { 4.4647944971961829e-103, min }, 2.2397447421778042e+102 },
/* 165 */ { { 1.9999999999998694e+00, min }, { -2.185039863262273e+00, 1.2848464717505794e-307 }, 2.5e-01 },
Expand Down Expand Up @@ -1288,7 +1300,7 @@ struct Tan {
/* 285 */ { { 8.9589789687104559e+102, inf }, { zero, 1.e+00 }, 5.e-01 },
/* 286 */ { { 4.0131652080900752e+205, inf }, { zero, 1.e+00 }, 5.e-01 },
/* 287 */ { { max, inf }, { zero, 1.e+00 }, 5.e-01 },
/* 288 */ { { inf, inf }, { zero, 1.e+00 }, 5.e-01 }
/* 288 */ { { inf, inf }, { zero, 1.e+00 }, 5.e-01 },
// clang-format on
};
return table;
Expand Down

0 comments on commit ebd7920

Please sign in to comment.