Skip to content

Commit ba7bb6f

Browse files
committed
Forgot to add assemble in to minmax test bench
1 parent 7b821e8 commit ba7bb6f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

taco/minimax.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,9 @@ static void bench_minimax(benchmark::State& state) {
8484
// TODO (rohany, owhsu): We need to actually generate the input game state.
8585
for (auto _ : state) {
8686
state.PauseTiming();
87-
Tensor<float> result("C");
87+
Tensor<double> result("C");
8888
result = genMinMaxExpr(game, ivars, 0);
89+
result.setAssembleWhileCompute(true);
8990
result.compile();
9091
// std::cout << result.getSource() << std::endl;
9192
state.ResumeTiming();

0 commit comments

Comments
 (0)