Skip to content

Commit

Permalink
Use GPU capable bamg_relax_type. (#1292)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrood-nrel authored Sep 5, 2024
1 parent 48638b1 commit 91e0a73
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions reg_tests/hypre_settings/hypre_blade_resolved.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
hypre_simple_precon:
bamg_max_levels: 1
bamg_relax_type: 12 # Use 11 for Hypre master or v2.21 and later, 8 for earlier
bamg_relax_type: 18 # Use 11 for Hypre master or v2.21 and later, 8 for earlier, 18 for SyCL
bamg_num_sweeps: 2
bamg_relax_order: 0

hypre_elliptic:
bamg_max_levels: 7
bamg_coarsen_type: 8 # 10 for CPUs (HMIS). For GPUs, use 8 (PMIS)
bamg_interp_type: 6
bamg_relax_type: 11 # Use 11 for Hypre master or v2.21 and later, 8 for earlier
bamg_relax_type: 18 # Use 11 for Hypre master or v2.21 and later, 8 for earlier, 18 for SyCL
#bamg_num_sweeps: 2
bamg_num_up_sweeps: 1
bamg_num_down_sweeps: 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ linear_solvers:
dump_hypre_matrix_stats: no

bamg_max_levels: 1
bamg_relax_type: 12
bamg_relax_type: 18
bamg_num_sweeps: 2
bamg_cycle_type: 1
bamg_relax_order: 0
Expand All @@ -44,7 +44,7 @@ linear_solvers:
dump_hypre_matrix_stats: no

bamg_max_levels: 1
bamg_relax_type: 12
bamg_relax_type: 18
bamg_num_sweeps: 2
bamg_cycle_type: 1
bamg_relax_order: 0
Expand All @@ -71,7 +71,7 @@ linear_solvers:
#bamg_max_levels: 7
bamg_coarsen_type: 8
bamg_interp_type: 6
bamg_relax_type: 11
bamg_relax_type: 18
bamg_cycle_type: 1
bamg_relax_order: 0
bamg_keep_transpose: 1
Expand Down Expand Up @@ -107,7 +107,7 @@ linear_solvers:
bamg_max_levels: 7
bamg_coarsen_type: 8
bamg_interp_type: 6
bamg_relax_type: 11
bamg_relax_type: 18
bamg_num_sweeps: 2
bamg_cycle_type: 1
bamg_relax_order: 0
Expand Down
8 changes: 4 additions & 4 deletions reg_tests/test_files/multiElemCylinder/multiElemCylinder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ linear_solvers:
dump_hypre_matrix_stats: no

bamg_max_levels: 1
bamg_relax_type: 12
bamg_relax_type: 18
bamg_num_sweeps: 2
bamg_cycle_type: 1
bamg_relax_order: 0
Expand All @@ -52,7 +52,7 @@ linear_solvers:
dump_hypre_matrix_stats: no

bamg_max_levels: 1
bamg_relax_type: 12
bamg_relax_type: 18
bamg_num_sweeps: 2
bamg_cycle_type: 1
bamg_relax_order: 0
Expand All @@ -79,7 +79,7 @@ linear_solvers:
#bamg_max_levels: 7
bamg_coarsen_type: 8
bamg_interp_type: 6
bamg_relax_type: 11
bamg_relax_type: 18
bamg_cycle_type: 1
bamg_relax_order: 0
bamg_keep_transpose: 1
Expand Down Expand Up @@ -119,7 +119,7 @@ linear_solvers:
bamg_max_levels: 7
bamg_coarsen_type: 8
bamg_interp_type: 6
bamg_relax_type: 11
bamg_relax_type: 18
bamg_num_sweeps: 2
bamg_cycle_type: 1
bamg_relax_order: 0
Expand Down

0 comments on commit 91e0a73

Please sign in to comment.