Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ops/ops_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ struct TestFastGelu {
gcpp::HWY_NAMESPACE::FastGelu(result.data(), result.size());

for (size_t i = 0; i < values.size(); i++) {
const float max_error = IsBF16<T>() ? 0.02f : 0.002f;
const float max_error = IsBF16<T>() ? 0.007f : 1e-5f;
const float x = hwy::ConvertScalarTo<float>(values[i]);
const float actual = hwy::ConvertScalarTo<float>(result[i]);
const float expected =
Expand Down
Loading