Skip to content

Commit

Permalink
remove unnecessary host_exec
Browse files Browse the repository at this point in the history
upsj committed Jan 15, 2025
1 parent bfd2598 commit 8656cdf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/factorization/symbolic.cpp
Original file line number Diff line number Diff line change
@@ -51,7 +51,6 @@ void symbolic_cholesky(
using matrix_type = matrix::Csr<ValueType, IndexType>;
GKO_ASSERT_IS_SQUARE_MATRIX(mtx);
const auto exec = mtx->get_executor();
const auto host_exec = exec->get_master();
exec->run(make_compute_elimination_forest(mtx, forest));
const auto num_rows = mtx->get_size()[0];
array<IndexType> row_ptrs{exec, num_rows + 1};
@@ -94,7 +93,6 @@ void symbolic_cholesky_device(
GKO_ASSERT_IS_SQUARE_MATRIX(mtx);
const auto exec = mtx->get_executor();
const auto num_rows = mtx->get_size()[0];
const auto host_exec = exec->get_master();
{
const auto skeleton =
matrix_type::create(exec, mtx->get_size(), num_rows);

0 comments on commit 8656cdf

Please sign in to comment.