acc_devmem_dev2host Interface

public interface acc_devmem_dev2host

Module Procedures

private subroutine dev2host_i4_1D(this, hostmem, stream)

Transfers GPU devmem to 1D fortran-array.

Arguments

Type IntentOptional Attributes Name
type(acc_devmem_type), intent(in) :: this
integer(kind=int_4), DIMENSION(:), POINTER :: hostmem
type(acc_stream_type), intent(in) :: stream

private subroutine dev2host_i8_1D(this, hostmem, stream)

Transfers GPU devmem to 1D fortran-array.

Arguments

Type IntentOptional Attributes Name
type(acc_devmem_type), intent(in) :: this
integer(kind=int_8), DIMENSION(:), POINTER :: hostmem
type(acc_stream_type), intent(in) :: stream

private subroutine dev2host_r4_1D(this, hostmem, stream)

Transfers GPU devmem to 1D fortran-array.

Arguments

Type IntentOptional Attributes Name
type(acc_devmem_type), intent(in) :: this
real(kind=real_4), DIMENSION(:), POINTER :: hostmem
type(acc_stream_type), intent(in) :: stream

private subroutine dev2host_r8_1D(this, hostmem, stream)

Transfers GPU devmem to 1D fortran-array.

Arguments

Type IntentOptional Attributes Name
type(acc_devmem_type), intent(in) :: this
real(kind=real_8), DIMENSION(:), POINTER :: hostmem
type(acc_stream_type), intent(in) :: stream

private subroutine dev2host_c4_1D(this, hostmem, stream)

Transfers GPU devmem to 1D fortran-array.

Arguments

Type IntentOptional Attributes Name
type(acc_devmem_type), intent(in) :: this
complex(kind=real_4), DIMENSION(:), POINTER :: hostmem
type(acc_stream_type), intent(in) :: stream

private subroutine dev2host_c8_1D(this, hostmem, stream)

Transfers GPU devmem to 1D fortran-array.

Arguments

Type IntentOptional Attributes Name
type(acc_devmem_type), intent(in) :: this
complex(kind=real_8), DIMENSION(:), POINTER :: hostmem
type(acc_stream_type), intent(in) :: stream