oqp_ddot_i64 Function

public function oqp_ddot_i64(n, dx, incx, dy, incy)

Arguments

Type IntentOptional Attributes Name
integer :: n
double precision :: dx(*)
integer :: incx
double precision :: dy(*)
integer :: incy

Return Value double precision


Calls

proc~~oqp_ddot_i64~~CallsGraph proc~oqp_ddot_i64 oqp_ddot_i64 ddot ddot proc~oqp_ddot_i64->ddot interface~show_message show_message proc~oqp_ddot_i64->interface~show_message

Source Code

  function oqp_ddot_i64(n, dx, incx, dy, incy)
    double precision, external :: ddot
    double precision :: oqp_ddot_i64
    integer :: incx
    integer :: incy
    integer :: n
    double precision :: dx(*)
    double precision :: dy(*)

    integer(blas_int) :: n_, incx_, incy_
    logical :: ok

    if (ARG_CHECK) then
      ok = .true.
      ok = ok .and. abs(n    ) <= HUGE_BLAS_INT-1
      ok = ok .and. abs(incx ) <= HUGE_BLAS_INT-1
      ok = ok .and. abs(incy ) <= HUGE_BLAS_INT-1
      if (.not.ok) call show_message(ERRMSG, WITH_ABORT)
    end if

    n_    = int(n    , blas_int)
    incx_ = int(incx , blas_int)
    incy_ = int(incy , blas_int)

    oqp_ddot_i64 = ddot(n_, dx, incx_, dy, incy_)

  end function oqp_ddot_i64