Skip to content

Commit

Permalink
fm: Remove warning about ELPA GPU kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
oschuett committed May 13, 2021
1 parent c90232a commit e0eae8a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/fm/cp_fm_elpa.F
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ SUBROUTINE set_elpa_kernel(requested_kernel)

#if defined (__ELPA)
INTEGER :: cpuid
CLASS(elpa_t), POINTER :: elpa_obj

elpa_kernel = requested_kernel

Expand All @@ -213,13 +212,7 @@ SUBROUTINE set_elpa_kernel(requested_kernel)
END SELECT
END IF

elpa_obj => elpa_allocate()
IF (elpa_obj%can_set("gpu", 1) == ELPA_OK) THEN
CPWARN("ELPA GPU kernel is available, but not enabled automatically.")
!TODO: Enable GPU kernel automatically once the segfaults have been fixed.
!elpa_kernel = ELPA_2STAGE_REAL_GPU ! Select GPU over CPU kernel when available.
END IF
CALL elpa_deallocate(elpa_obj)
!TODO: Select ELPA_2STAGE_REAL_GPU if available.

! If we could not find a suitable kernel then use ELPA_2STAGE_REAL_DEFAULT.
IF (elpa_kernel == ELPA_2STAGE_REAL_INVALID) THEN
Expand Down

0 comments on commit e0eae8a

Please sign in to comment.