oqp_zcopy_i64 Subroutine

public subroutine oqp_zcopy_i64(n, zx, incx, zy, incy)

Arguments

Type IntentOptional Attributes Name
integer :: n
complex(kind=8) :: zx(*)
integer :: incx
complex(kind=8) :: zy(*)
integer :: incy

Calls

proc~~oqp_zcopy_i64~~CallsGraph proc~oqp_zcopy_i64 oqp_zcopy_i64 interface~show_message show_message proc~oqp_zcopy_i64->interface~show_message zcopy zcopy proc~oqp_zcopy_i64->zcopy

Source Code

  subroutine oqp_zcopy_i64(n, zx, incx, zy, incy)
    integer :: incx
    integer :: incy
    integer :: n
    complex(kind=8) :: zx(*)
    complex(kind=8) :: zy(*)

    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 zcopy(n_, zx, incx_, zy, incy_)

  end subroutine oqp_zcopy_i64