Skip to content

Commit

Permalink
add mg_param->n_vec_batch[level]
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcogarofalo committed Feb 6, 2025
1 parent f4143d9 commit b5ce94d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions quda_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -2096,6 +2096,8 @@ void _setQudaMultigridParam(QudaMultigridParam* mg_param) {
mg_param->smoother_solver_ca_lambda_min[level] = quda_input.mg_smoother_solver_ca_lambda_min[level];
mg_param->smoother_solver_ca_lambda_max[level] = quda_input.mg_smoother_solver_ca_lambda_max[level];

// this is needed after QUDA commit https://github.com/lattice/quda/commit/7903288629f0fcc474989fec5a1393ecc17a4b42
mg_param->n_vec_batch[level] = 1;

// set the MG EigSolver parameters, almost equivalent to
// setEigParam from QUDA's multigrid_invert_test, except
Expand Down Expand Up @@ -2162,6 +2164,8 @@ void _setQudaMultigridParam(QudaMultigridParam* mg_param) {
mg_param->run_oblique_proj_check = quda_input.mg_run_oblique_proj_check;
mg_param->run_verify = quda_input.mg_run_verify;



// set file i/o parameters
strcpy(mg_param->vec_infile, "");
strcpy(mg_param->vec_outfile, "");
Expand Down

0 comments on commit b5ce94d

Please sign in to comment.