Skip to content

Commit c4f17cc

Browse files
committed
WIP: proper fix for ignoring constant_folding in 0.6.0
1 parent e5889c5 commit c4f17cc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

xla/tests/complex_unary_op_test.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ class ComplexUnaryOpTest : public ClientLibraryTestBase {
3838
// Otherwise, constant folding pre-computes results using HloEvaluator's
3939
// reference implementation (std c++), not the backend under test.
4040
void SetUp() override {
41-
ClientLibraryTestRunnerMixin::SetUp();
42-
mutable_debug_options()->add_xla_disable_hlo_passes("constant_folding");
41+
ClientLibraryTestBase::SetUp();
42+
execution_options_.mutable_debug_options()
43+
->add_xla_disable_hlo_passes("constant_folding");
4344
}
4445
template <typename T, size_t index, typename... Types>
4546
std::vector<T> get_column(const std::vector<std::tuple<Types...>>& table) {

0 commit comments

Comments
 (0)