oqp_sswap_i64 Subroutine

public subroutine oqp_sswap_i64(n, sx, incx, sy, incy)

Arguments

Type IntentOptional Attributes Name
integer :: n
real :: sx(*)
integer :: incx
real :: sy(*)
integer :: incy

Calls

proc~~oqp_sswap_i64~~CallsGraph proc~oqp_sswap_i64 oqp_sswap_i64 interface~show_message show_message proc~oqp_sswap_i64->interface~show_message sswap sswap proc~oqp_sswap_i64->sswap

Source Code

  subroutine oqp_sswap_i64(n, sx, incx, sy, incy)
    integer :: incx
    integer :: incy
    integer :: n
    real :: sx(*)
    real :: sy(*)

    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)

    call sswap(n_, sx, incx_, sy, incy_)

  end subroutine oqp_sswap_i64