dbcsr_acc_hostmem Module

Accelerator support



Contents


Variables

TypeVisibilityAttributesNameInitial
character(len=*), private, parameter:: moduleN ='dbcsr_acc_hostmem'
logical, private, parameter:: careful_mod =.TRUE.

Interfaces

public interface acc_hostmem_allocate

  • private subroutine acc_hostmem_alloc_i4(host_mem, n, stream)

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

    Arguments

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

public interface acc_hostmem_deallocate

  • private subroutine acc_hostmem_dealloc_i4(host_mem, stream)

    Deallocates a 1D fortan-array, which is GPU host-pinned memory.

    Arguments

    TypeIntentOptionalAttributesName
    integer(kind=int_4), DIMENSION(:), POINTER:: host_mem

    pointer to array

    type(acc_stream_type), intent(in) :: stream
  • private subroutine acc_hostmem_dealloc_i8(host_mem, stream)

    Deallocates a 1D fortan-array, which is GPU host-pinned memory.

    Arguments

    TypeIntentOptionalAttributesName
    integer(kind=int_8), DIMENSION(:), POINTER:: host_mem

    pointer to array

    type(acc_stream_type), intent(in) :: stream
  • private subroutine acc_hostmem_dealloc_r4(host_mem, stream)

    Deallocates a 1D fortan-array, which is GPU host-pinned memory.

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=real_4), DIMENSION(:), POINTER:: host_mem

    pointer to array

    type(acc_stream_type), intent(in) :: stream
  • private subroutine acc_hostmem_dealloc_r8(host_mem, stream)

    Deallocates a 1D fortan-array, which is GPU host-pinned memory.

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=real_8), DIMENSION(:), POINTER:: host_mem

    pointer to array

    type(acc_stream_type), intent(in) :: stream
  • private subroutine acc_hostmem_dealloc_c4(host_mem, stream)

    Deallocates a 1D fortan-array, which is GPU host-pinned memory.

    Arguments

    TypeIntentOptionalAttributesName
    complex(kind=real_4), DIMENSION(:), POINTER:: host_mem

    pointer to array

    type(acc_stream_type), intent(in) :: stream
  • private subroutine acc_hostmem_dealloc_c8(host_mem, stream)

    Deallocates a 1D fortan-array, which is GPU host-pinned memory.

    Arguments

    TypeIntentOptionalAttributesName
    complex(kind=real_8), DIMENSION(:), POINTER:: host_mem

    pointer to array

    type(acc_stream_type), intent(in) :: stream
  • private subroutine acc_hostmem_dealloc_i4_2D(host_mem, stream)

    Deallocates a 2D fortan-array, which is GPU host-pinned memory.

    Arguments

    TypeIntentOptionalAttributesName
    integer(kind=int_4), DIMENSION(:, :), POINTER:: host_mem

    pointer to array

    type(acc_stream_type), intent(in) :: stream
  • private subroutine acc_hostmem_dealloc_i8_2D(host_mem, stream)

    Deallocates a 2D fortan-array, which is GPU host-pinned memory.

    Arguments

    TypeIntentOptionalAttributesName
    integer(kind=int_8), DIMENSION(:, :), POINTER:: host_mem

    pointer to array

    type(acc_stream_type), intent(in) :: stream
  • private subroutine acc_hostmem_dealloc_r4_2D(host_mem, stream)

    Deallocates a 2D fortan-array, which is GPU host-pinned memory.

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=real_4), DIMENSION(:, :), POINTER:: host_mem

    pointer to array

    type(acc_stream_type), intent(in) :: stream
  • private subroutine acc_hostmem_dealloc_r8_2D(host_mem, stream)

    Deallocates a 2D fortan-array, which is GPU host-pinned memory.

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=real_8), DIMENSION(:, :), POINTER:: host_mem

    pointer to array

    type(acc_stream_type), intent(in) :: stream
  • private subroutine acc_hostmem_dealloc_c4_2D(host_mem, stream)

    Deallocates a 2D fortan-array, which is GPU host-pinned memory.

    Arguments

    TypeIntentOptionalAttributesName
    complex(kind=real_4), DIMENSION(:, :), POINTER:: host_mem

    pointer to array

    type(acc_stream_type), intent(in) :: stream
  • private subroutine acc_hostmem_dealloc_c8_2D(host_mem, stream)

    Deallocates a 2D fortan-array, which is GPU host-pinned memory.

    Arguments

    TypeIntentOptionalAttributesName
    complex(kind=real_8), DIMENSION(:, :), POINTER:: host_mem

    pointer to array

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

Subroutines

private subroutine acc_hostmem_alloc_i4(host_mem, n, stream)

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

Arguments

TypeIntentOptionalAttributesName
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_i4_2D(host_mem, n1, n2, stream)

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

Arguments

TypeIntentOptionalAttributesName
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_dealloc_i4(host_mem, stream)

Deallocates a 1D fortan-array, which is GPU host-pinned memory.

Arguments

TypeIntentOptionalAttributesName
integer(kind=int_4), DIMENSION(:), POINTER:: host_mem

pointer to array

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

private subroutine acc_hostmem_dealloc_i4_2D(host_mem, stream)

Deallocates a 2D fortan-array, which is GPU host-pinned memory.

Arguments

TypeIntentOptionalAttributesName
integer(kind=int_4), DIMENSION(:, :), POINTER:: host_mem

pointer to array

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

TypeIntentOptionalAttributesName
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_i8_2D(host_mem, n1, n2, stream)

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

Arguments

TypeIntentOptionalAttributesName
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_dealloc_i8(host_mem, stream)

Deallocates a 1D fortan-array, which is GPU host-pinned memory.

Arguments

TypeIntentOptionalAttributesName
integer(kind=int_8), DIMENSION(:), POINTER:: host_mem

pointer to array

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

private subroutine acc_hostmem_dealloc_i8_2D(host_mem, stream)

Deallocates a 2D fortan-array, which is GPU host-pinned memory.

Arguments

TypeIntentOptionalAttributesName
integer(kind=int_8), DIMENSION(:, :), POINTER:: host_mem

pointer to array

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

TypeIntentOptionalAttributesName
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_r4_2D(host_mem, n1, n2, stream)

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

Arguments

TypeIntentOptionalAttributesName
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_dealloc_r4(host_mem, stream)

Deallocates a 1D fortan-array, which is GPU host-pinned memory.

Arguments

TypeIntentOptionalAttributesName
real(kind=real_4), DIMENSION(:), POINTER:: host_mem

pointer to array

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

private subroutine acc_hostmem_dealloc_r4_2D(host_mem, stream)

Deallocates a 2D fortan-array, which is GPU host-pinned memory.

Arguments

TypeIntentOptionalAttributesName
real(kind=real_4), DIMENSION(:, :), POINTER:: host_mem

pointer to array

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

TypeIntentOptionalAttributesName
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_r8_2D(host_mem, n1, n2, stream)

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

Arguments

TypeIntentOptionalAttributesName
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_dealloc_r8(host_mem, stream)

Deallocates a 1D fortan-array, which is GPU host-pinned memory.

Arguments

TypeIntentOptionalAttributesName
real(kind=real_8), DIMENSION(:), POINTER:: host_mem

pointer to array

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

private subroutine acc_hostmem_dealloc_r8_2D(host_mem, stream)

Deallocates a 2D fortan-array, which is GPU host-pinned memory.

Arguments

TypeIntentOptionalAttributesName
real(kind=real_8), DIMENSION(:, :), POINTER:: host_mem

pointer to array

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

TypeIntentOptionalAttributesName
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_c4_2D(host_mem, n1, n2, stream)

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

Arguments

TypeIntentOptionalAttributesName
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_dealloc_c4(host_mem, stream)

Deallocates a 1D fortan-array, which is GPU host-pinned memory.

Arguments

TypeIntentOptionalAttributesName
complex(kind=real_4), DIMENSION(:), POINTER:: host_mem

pointer to array

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

private subroutine acc_hostmem_dealloc_c4_2D(host_mem, stream)

Deallocates a 2D fortan-array, which is GPU host-pinned memory.

Arguments

TypeIntentOptionalAttributesName
complex(kind=real_4), DIMENSION(:, :), POINTER:: host_mem

pointer to array

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

TypeIntentOptionalAttributesName
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_c8_2D(host_mem, n1, n2, stream)

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

Arguments

TypeIntentOptionalAttributesName
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

private subroutine acc_hostmem_dealloc_c8(host_mem, stream)

Deallocates a 1D fortan-array, which is GPU host-pinned memory.

Arguments

TypeIntentOptionalAttributesName
complex(kind=real_8), DIMENSION(:), POINTER:: host_mem

pointer to array

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

private subroutine acc_hostmem_dealloc_c8_2D(host_mem, stream)

Deallocates a 2D fortan-array, which is GPU host-pinned memory.

Arguments

TypeIntentOptionalAttributesName
complex(kind=real_8), DIMENSION(:, :), POINTER:: host_mem

pointer to array

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