Skip to content

Commit

Permalink
grid: Change input enum from REF to REFERENCE to notify users
Browse files Browse the repository at this point in the history
  • Loading branch information
oschuett committed May 6, 2023
1 parent 9d2e4c7 commit d168495
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/input_cp2k_global.F
Expand Up @@ -754,7 +754,7 @@ SUBROUTINE create_grid_section(section)
default_i_val=GRID_BACKEND_AUTO, &
enum_i_vals=(/GRID_BACKEND_AUTO, GRID_BACKEND_REF, GRID_BACKEND_CPU, &
GRID_BACKEND_DGEMM, GRID_BACKEND_GPU, GRID_BACKEND_HIP/), &
enum_c_vals=s2a("AUTO", "REF", "CPU", "DGEMM", "GPU", "HIP"), &
enum_c_vals=s2a("AUTO", "REFERENCE", "CPU", "DGEMM", "GPU", "HIP"), &
enum_desc=s2a("Let the grid library pick the backend automatically", &
"Reference backend implementation", &
"Optimized CPU backend", &
Expand Down
2 changes: 1 addition & 1 deletion tests/QS/regtest-gpw-1/Ar-3.inp
Expand Up @@ -41,6 +41,6 @@
&GLOBAL
PRINT_LEVEL MEDIUM
&GRID
BACKEND REF ! basis is too large for GPU backend
BACKEND CPU ! basis is too large for GPU backend
&END GRID
&END GLOBAL
2 changes: 1 addition & 1 deletion tests/QS/regtest-grid/simple_non-ortho_grid_ref.inp
Expand Up @@ -63,7 +63,7 @@ C 1.22800000 -0.70898613 5.02200000
&END FORCE_EVAL
&GLOBAL
&GRID
BACKEND REF
BACKEND REFERENCE
&END GRID
PROJECT simple_non-ortho_grid_ref
PRINT_LEVEL MEDIUM
Expand Down
2 changes: 1 addition & 1 deletion tests/QS/regtest-grid/simple_ortho_grid_ref.inp
Expand Up @@ -51,7 +51,7 @@
&END FORCE_EVAL
&GLOBAL
&GRID
BACKEND REF
BACKEND REFERENCE
&END GRID
PROJECT simple_ortho_grid_ref
PRINT_LEVEL MEDIUM
Expand Down

0 comments on commit d168495

Please sign in to comment.