use_acc Function

public pure function use_acc()

Arguments

None

Return Value logical


Source Code

   PURE FUNCTION use_acc()
      LOGICAL :: use_acc

      IF (has_acc .AND. dbcsr_cfg%run_on_gpu%val) THEN
         use_acc = .TRUE.
      ELSE
         use_acc = .FALSE.
      END IF
   END FUNCTION use_acc