Skip to content

Commit

Permalink
String declaration before public definition to make CCE happy
Browse files Browse the repository at this point in the history
  • Loading branch information
alazzaro committed Aug 24, 2019
1 parent f82b7a7 commit 426263c
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions src/fm/cp_fm_elpa.F
Original file line number Diff line number Diff line change
Expand Up @@ -59,23 +59,6 @@ MODULE cp_fm_elpa

CHARACTER(len=*), PARAMETER, PRIVATE :: moduleN = 'cp_fm_elpa'

PUBLIC :: cp_fm_diag_elpa, &
get_elpa_number_kernels, &
get_elpa_kernel_index, &
set_elpa_kernel, &
set_elpa_qr, &
set_elpa_print, &
elpa_kernel_names, &
elpa_kernel_descriptions, &
initialize_elpa_library, &
finalize_elpa_library

INTEGER, SAVE :: elpa_kernel = -1 ! auto
LOGICAL, SAVE :: elpa_qr = .FALSE., &
elpa_qr_unsafe = .FALSE., &
elpa_should_print = .FALSE., &
elpa_use_gpu = .FALSE.

CHARACTER(len=14), DIMENSION(*), PARAMETER :: elpa_kernel_names = [ CHARACTER(len=14) :: &
"AUTO", &
"GENERIC", &
Expand Down Expand Up @@ -118,6 +101,23 @@ MODULE cp_fm_elpa
"Kernel optimized for Intel AVX-512 (block=6)", &
"Kernel targeting GPUs"]

INTEGER, SAVE :: elpa_kernel = -1 ! auto
LOGICAL, SAVE :: elpa_qr = .FALSE., &
elpa_qr_unsafe = .FALSE., &
elpa_should_print = .FALSE., &
elpa_use_gpu = .FALSE.

PUBLIC :: cp_fm_diag_elpa, &
get_elpa_number_kernels, &
get_elpa_kernel_index, &
set_elpa_kernel, &
set_elpa_qr, &
set_elpa_print, &
elpa_kernel_names, &
elpa_kernel_descriptions, &
initialize_elpa_library, &
finalize_elpa_library

CONTAINS

! **************************************************************************************************
Expand Down

0 comments on commit 426263c

Please sign in to comment.