acc_hostmem_allocate Interface

public interface acc_hostmem_allocate

Module Procedures

private subroutine acc_hostmem_alloc_i4(host_mem, n, stream)

Allocates 1D fortan-array as GPU host-pinned memory.

Arguments

Type IntentOptional Attributes Name
integer(kind=int_4), DIMENSION(:), POINTER :: host_mem

pointer to array

integer, intent(in) :: n

size given in terms of item-count (not bytes!)

type(acc_stream_type), intent(in) :: stream

private subroutine acc_hostmem_alloc_i8(host_mem, n, stream)

Allocates 1D fortan-array as GPU host-pinned memory.

Arguments

Type IntentOptional Attributes Name
integer(kind=int_8), DIMENSION(:), POINTER :: host_mem

pointer to array

integer, intent(in) :: n

size given in terms of item-count (not bytes!)

type(acc_stream_type), intent(in) :: stream

private subroutine acc_hostmem_alloc_r4(host_mem, n, stream)

Allocates 1D fortan-array as GPU host-pinned memory.

Arguments

Type IntentOptional Attributes Name
real(kind=real_4), DIMENSION(:), POINTER :: host_mem

pointer to array

integer, intent(in) :: n

size given in terms of item-count (not bytes!)

type(acc_stream_type), intent(in) :: stream

private subroutine acc_hostmem_alloc_r8(host_mem, n, stream)

Allocates 1D fortan-array as GPU host-pinned memory.

Arguments

Type IntentOptional Attributes Name
real(kind=real_8), DIMENSION(:), POINTER :: host_mem

pointer to array

integer, intent(in) :: n

size given in terms of item-count (not bytes!)

type(acc_stream_type), intent(in) :: stream

private subroutine acc_hostmem_alloc_c4(host_mem, n, stream)

Allocates 1D fortan-array as GPU host-pinned memory.

Arguments

Type IntentOptional Attributes Name
complex(kind=real_4), DIMENSION(:), POINTER :: host_mem

pointer to array

integer, intent(in) :: n

size given in terms of item-count (not bytes!)

type(acc_stream_type), intent(in) :: stream

private subroutine acc_hostmem_alloc_c8(host_mem, n, stream)

Allocates 1D fortan-array as GPU host-pinned memory.

Arguments

Type IntentOptional Attributes Name
complex(kind=real_8), DIMENSION(:), POINTER :: host_mem

pointer to array

integer, intent(in) :: n

size given in terms of item-count (not bytes!)

type(acc_stream_type), intent(in) :: stream

private subroutine acc_hostmem_alloc_i4_2D(host_mem, n1, n2, stream)

Allocates 2D fortan-array as GPU host-pinned memory.

Arguments

Type IntentOptional Attributes Name
integer(kind=int_4), DIMENSION(:, :), POINTER :: host_mem

pointer to array

integer, intent(in) :: n1

sizes given in terms of item-count (not bytes!) sizes given in terms of item-count (not bytes!)

integer, intent(in) :: n2

sizes given in terms of item-count (not bytes!) sizes given in terms of item-count (not bytes!)

type(acc_stream_type), intent(in) :: stream

private subroutine acc_hostmem_alloc_i8_2D(host_mem, n1, n2, stream)

Allocates 2D fortan-array as GPU host-pinned memory.

Arguments

Type IntentOptional Attributes Name
integer(kind=int_8), DIMENSION(:, :), POINTER :: host_mem

pointer to array

integer, intent(in) :: n1

sizes given in terms of item-count (not bytes!) sizes given in terms of item-count (not bytes!)

integer, intent(in) :: n2

sizes given in terms of item-count (not bytes!) sizes given in terms of item-count (not bytes!)

type(acc_stream_type), intent(in) :: stream

private subroutine acc_hostmem_alloc_r4_2D(host_mem, n1, n2, stream)

Allocates 2D fortan-array as GPU host-pinned memory.

Arguments

Type IntentOptional Attributes Name
real(kind=real_4), DIMENSION(:, :), POINTER :: host_mem

pointer to array

integer, intent(in) :: n1

sizes given in terms of item-count (not bytes!) sizes given in terms of item-count (not bytes!)

integer, intent(in) :: n2

sizes given in terms of item-count (not bytes!) sizes given in terms of item-count (not bytes!)

type(acc_stream_type), intent(in) :: stream

private subroutine acc_hostmem_alloc_r8_2D(host_mem, n1, n2, stream)

Allocates 2D fortan-array as GPU host-pinned memory.

Arguments

Type IntentOptional Attributes Name
real(kind=real_8), DIMENSION(:, :), POINTER :: host_mem

pointer to array

integer, intent(in) :: n1

sizes given in terms of item-count (not bytes!) sizes given in terms of item-count (not bytes!)

integer, intent(in) :: n2

sizes given in terms of item-count (not bytes!) sizes given in terms of item-count (not bytes!)

type(acc_stream_type), intent(in) :: stream

private subroutine acc_hostmem_alloc_c4_2D(host_mem, n1, n2, stream)

Allocates 2D fortan-array as GPU host-pinned memory.

Arguments

Type IntentOptional Attributes Name
complex(kind=real_4), DIMENSION(:, :), POINTER :: host_mem

pointer to array

integer, intent(in) :: n1

sizes given in terms of item-count (not bytes!) sizes given in terms of item-count (not bytes!)

integer, intent(in) :: n2

sizes given in terms of item-count (not bytes!) sizes given in terms of item-count (not bytes!)

type(acc_stream_type), intent(in) :: stream

private subroutine acc_hostmem_alloc_c8_2D(host_mem, n1, n2, stream)

Allocates 2D fortan-array as GPU host-pinned memory.

Arguments

Type IntentOptional Attributes Name
complex(kind=real_8), DIMENSION(:, :), POINTER :: host_mem

pointer to array

integer, intent(in) :: n1

sizes given in terms of item-count (not bytes!) sizes given in terms of item-count (not bytes!)

integer, intent(in) :: n2

sizes given in terms of item-count (not bytes!) sizes given in terms of item-count (not bytes!)

type(acc_stream_type), intent(in) :: stream