Skip to content

Commit

Permalink
clean up files
Browse files Browse the repository at this point in the history
  • Loading branch information
zyy-martin committed Dec 18, 2024
1 parent 7290336 commit 7bce886
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/cpp/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ fi
for name in "${test_names[@]}"; do
echo "Running $name cpp test..."
if [ "$LOGFILE" != "" ]; then
bazel $BAZEL_VERB $EXTRA_FLAGS //torch_xla/csrc/runtime:all //test/cpp:${name} --test_timeout 1200 --test_output=all ${FILTER:+"$FILTER"} 2> $LOGFILE
bazel $BAZEL_VERB $EXTRA_FLAGS //torch_xla/csrc/runtime:all //test/cpp:${name} --test_timeout 1200 ${FILTER:+"$FILTER"} 2> $LOGFILE
else
bazel $BAZEL_VERB $EXTRA_FLAGS //torch_xla/csrc/runtime:all //test/cpp:${name} --test_timeout 1200 --test_output=all ${FILTER:+"$FILTER"}
bazel $BAZEL_VERB $EXTRA_FLAGS //torch_xla/csrc/runtime:all //test/cpp:${name} --test_timeout 1200 ${FILTER:+"$FILTER"}
fi
done

3 changes: 2 additions & 1 deletion torch_xla/csrc/reduction.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ xla::XlaOp BuildCumulativeComputation(xla::XlaOp input, int64_t dim,
const xla::XlaComputation& reducer,
xla::XlaOp init);

// Compute the cumulative computation specified by "reducer" and "init" in the
// Computes the cumulative computation specified by "reducer" and "init" in the
// given dimension "dim".
// Returns a tuple XlaOp (values, indices).
xla::XlaOp BuildCumulativeComputationWithIndices(
xla::XlaOp value_input, xla::XlaOp index_input, int64_t dim,
const xla::XlaComputation& reducer, xla::XlaOp value_init,
Expand Down

0 comments on commit 7bce886

Please sign in to comment.