Skip to content

Commit

Permalink
Increase the relative error margin so cufft backend passes tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FMarno committed Mar 1, 2023
1 parent b99db71 commit 152731d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit_tests/dft/include/compute_tester.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ struct DFT_Test {
[](const FwdOutputType& a, const FwdOutputType& b) { return std::abs(a) < std::abs(b); });
// Heuristic for the average-case error margins
abs_error_margin = std::abs(max_norm_ref) * std::log2((double)size);
rel_error_margin = 5.0 * std::log2((double)size);
rel_error_margin = 100.0 * std::log2((double)size);
return !skip_test(type);
}

Expand Down

0 comments on commit 152731d

Please sign in to comment.