Skip to content

Commit

Permalink
Forgot to pass CUDA backend params in mpi_amg example
Browse files Browse the repository at this point in the history
  • Loading branch information
ddemidov committed Jun 6, 2018
1 parent 8ae13b4 commit 946398e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/mpi/mpi_amg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ void solve_block(
rhs, bprm, ptype, prm.get("precond.coarsening.aggr.block_size", 1));

prof.tic("setup");
Solver solve(comm, A, prm);
Solver solve(comm, A, prm, bprm);
prof.toc("setup");

if (comm.rank == 0) {
Expand Down Expand Up @@ -382,7 +382,7 @@ void solve_scalar(
prm.get("precond.coarsening.aggr.block_size", 1));

prof.tic("setup");
Solver solve(comm, A, prm);
Solver solve(comm, A, prm, bprm);
prof.toc("setup");

if (comm.rank == 0) {
Expand Down

0 comments on commit 946398e

Please sign in to comment.