Skip to content

fundal_dev_alloc ​

FUNDAL, memory allocation routines module.

Source: src/lib/fundal_dev_alloc.F90

Dependencies

Contents ​

Interfaces ​

dev_alloc ​

Allocate device memory.

Module procedures: dev_alloc_R8P_1D, dev_alloc_R8P_2D, dev_alloc_R8P_3D, dev_alloc_R8P_4D, dev_alloc_R8P_5D, dev_alloc_R8P_6D, dev_alloc_R8P_7D, dev_alloc_R4P_1D, dev_alloc_R4P_2D, dev_alloc_R4P_3D, dev_alloc_R4P_4D, dev_alloc_R4P_5D, dev_alloc_R4P_6D, dev_alloc_R4P_7D, dev_alloc_I8P_1D, dev_alloc_I8P_2D, dev_alloc_I8P_3D, dev_alloc_I8P_4D, dev_alloc_I8P_5D, dev_alloc_I8P_6D, dev_alloc_I8P_7D, dev_alloc_I4P_1D, dev_alloc_I4P_2D, dev_alloc_I4P_3D, dev_alloc_I4P_4D, dev_alloc_I4P_5D, dev_alloc_I4P_6D, dev_alloc_I4P_7D, dev_alloc_I2P_1D, dev_alloc_I2P_2D, dev_alloc_I2P_3D, dev_alloc_I2P_4D, dev_alloc_I2P_5D, dev_alloc_I2P_6D, dev_alloc_I2P_7D, dev_alloc_I1P_1D, dev_alloc_I1P_2D, dev_alloc_I1P_3D, dev_alloc_I1P_4D, dev_alloc_I1P_5D, dev_alloc_I1P_6D, dev_alloc_I1P_7D

malloc_f ​

Subroutines ​

register_allocation ​

Record a successful allocation in the allocation registry, with the device where it actually lives. On OpenACC acc_malloc allocates on the current device and dev_id is documented as not used: the current device is recorded, and a dev_id that differs from it is reported (unless the registry policy is off).

fortran
subroutine register_allocation(cptr, bytes, dev_id_used, dev_id, label)

Arguments

NameTypeIntentAttributesDescription
cptrtype(c_ptr)inAddress of the buffer.
bytesinteger(kind=c_size_t)inSize of the buffer [bytes].
dev_id_usedinteger(kind=I4P)inDevice passed to the allocator (dev_id or mydev).
dev_idinteger(kind=I4P)inoptionalDevice ID requested by the caller.
labelcharacter(len=*)inoptionalLabel of the allocation.

Call graph

dev_alloc_R8P_1D ​

Allocate array, R8P kind, rank 1. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_R8P_1D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devreal(kind=R8P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valuereal(kind=R8P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_R8P_2D ​

Allocate array, R8P kind, rank 2. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_R8P_2D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devreal(kind=R8P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valuereal(kind=R8P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_R8P_3D ​

Allocate array, R8P kind, rank 3. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_R8P_3D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devreal(kind=R8P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valuereal(kind=R8P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_R8P_4D ​

Allocate array, R8P kind, rank 4. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_R8P_4D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devreal(kind=R8P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valuereal(kind=R8P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_R8P_5D ​

Allocate array, R8P kind, rank 5. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_R8P_5D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devreal(kind=R8P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valuereal(kind=R8P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_R8P_6D ​

Allocate array, R8P kind, rank 6. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_R8P_6D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devreal(kind=R8P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valuereal(kind=R8P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_R8P_7D ​

Allocate array, R8P kind, rank 7. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_R8P_7D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devreal(kind=R8P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valuereal(kind=R8P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_R4P_1D ​

Allocate array, R4P kind, rank 1. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_R4P_1D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devreal(kind=R4P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valuereal(kind=R4P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_R4P_2D ​

Allocate array, R4P kind, rank 2. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_R4P_2D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devreal(kind=R4P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valuereal(kind=R4P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_R4P_3D ​

Allocate array, R4P kind, rank 3. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_R4P_3D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devreal(kind=R4P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valuereal(kind=R4P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_R4P_4D ​

Allocate array, R4P kind, rank 4. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_R4P_4D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devreal(kind=R4P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valuereal(kind=R4P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_R4P_5D ​

Allocate array, R4P kind, rank 5. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_R4P_5D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devreal(kind=R4P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valuereal(kind=R4P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_R4P_6D ​

Allocate array, R4P kind, rank 6. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_R4P_6D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devreal(kind=R4P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valuereal(kind=R4P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_R4P_7D ​

Allocate array, R4P kind, rank 7. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_R4P_7D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devreal(kind=R4P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valuereal(kind=R4P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_I8P_1D ​

Allocate array, I8P kind, rank 1. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_I8P_1D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devinteger(kind=I8P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valueinteger(kind=I8P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_I8P_2D ​

Allocate array, I8P kind, rank 2. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_I8P_2D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devinteger(kind=I8P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valueinteger(kind=I8P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_I8P_3D ​

Allocate array, I8P kind, rank 3. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_I8P_3D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devinteger(kind=I8P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valueinteger(kind=I8P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_I8P_4D ​

Allocate array, I8P kind, rank 4. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_I8P_4D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devinteger(kind=I8P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valueinteger(kind=I8P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_I8P_5D ​

Allocate array, I8P kind, rank 5. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_I8P_5D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devinteger(kind=I8P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valueinteger(kind=I8P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_I8P_6D ​

Allocate array, I8P kind, rank 6. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_I8P_6D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devinteger(kind=I8P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valueinteger(kind=I8P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_I8P_7D ​

Allocate array, I8P kind, rank 7. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_I8P_7D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devinteger(kind=I8P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valueinteger(kind=I8P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_I4P_1D ​

Allocate array, I4P kind, rank 1. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_I4P_1D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devinteger(kind=I4P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valueinteger(kind=I4P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_I4P_2D ​

Allocate array, I4P kind, rank 2. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_I4P_2D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devinteger(kind=I4P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valueinteger(kind=I4P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_I4P_3D ​

Allocate array, I4P kind, rank 3. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_I4P_3D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devinteger(kind=I4P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valueinteger(kind=I4P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_I4P_4D ​

Allocate array, I4P kind, rank 4. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_I4P_4D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devinteger(kind=I4P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valueinteger(kind=I4P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_I4P_5D ​

Allocate array, I4P kind, rank 5. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_I4P_5D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devinteger(kind=I4P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valueinteger(kind=I4P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_I4P_6D ​

Allocate array, I4P kind, rank 6. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_I4P_6D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devinteger(kind=I4P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valueinteger(kind=I4P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_I4P_7D ​

Allocate array, I4P kind, rank 7. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_I4P_7D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devinteger(kind=I4P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valueinteger(kind=I4P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_I2P_1D ​

Allocate array, I2P kind, rank 1. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_I2P_1D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devinteger(kind=I2P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valueinteger(kind=I2P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_I2P_2D ​

Allocate array, I2P kind, rank 2. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_I2P_2D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devinteger(kind=I2P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valueinteger(kind=I2P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_I2P_3D ​

Allocate array, I2P kind, rank 3. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_I2P_3D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devinteger(kind=I2P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valueinteger(kind=I2P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_I2P_4D ​

Allocate array, I2P kind, rank 4. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_I2P_4D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devinteger(kind=I2P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valueinteger(kind=I2P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_I2P_5D ​

Allocate array, I2P kind, rank 5. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_I2P_5D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devinteger(kind=I2P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valueinteger(kind=I2P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_I2P_6D ​

Allocate array, I2P kind, rank 6. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_I2P_6D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devinteger(kind=I2P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valueinteger(kind=I2P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_I2P_7D ​

Allocate array, I2P kind, rank 7. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_I2P_7D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devinteger(kind=I2P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valueinteger(kind=I2P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_I1P_1D ​

Allocate array, I1P kind, rank 1. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_I1P_1D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devinteger(kind=I1P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valueinteger(kind=I1P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_I1P_2D ​

Allocate array, I1P kind, rank 2. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_I1P_2D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devinteger(kind=I1P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valueinteger(kind=I1P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_I1P_3D ​

Allocate array, I1P kind, rank 3. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_I1P_3D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devinteger(kind=I1P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valueinteger(kind=I1P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_I1P_4D ​

Allocate array, I1P kind, rank 4. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_I1P_4D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devinteger(kind=I1P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valueinteger(kind=I1P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_I1P_5D ​

Allocate array, I1P kind, rank 5. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_I1P_5D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devinteger(kind=I1P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valueinteger(kind=I1P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_I1P_6D ​

Allocate array, I1P kind, rank 6. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_I1P_6D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devinteger(kind=I1P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valueinteger(kind=I1P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph

dev_alloc_I1P_7D ​

Allocate array, I1P kind, rank 7. Pointer-ALLOCATE semantics: fptr_dev is intent(out), calling on an associated pointer leaks its buffer. Use dev_alloc_replace to free an associated pointer before allocating.

fortran
subroutine dev_alloc_I1P_7D(fptr_dev, ubounds, ierr, dev_id, lbounds, init_value, label)

Arguments

NameTypeIntentAttributesDescription
fptr_devinteger(kind=I1P)outpointerPointer to allocated memory.
uboundsinteger(kind=I4P)inArray upper bounds.
ierrinteger(kind=I4P)outError status.
dev_idinteger(kind=I4P)inoptionalDevice ID (not used, necessary for unified OpenMP API).
lboundsinteger(kind=I4P)inoptionalArray lower bounds, 1 if not passed.
init_valueinteger(kind=I1P)inoptionalOptional initial value.
labelcharacter(len=*)inoptionalLabel of the allocation (allocation registry).

Call graph