Neko 1.99.11
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
device_array Module Reference

Module containing device only array type.

Data Types

type  device_array_t
 Device-only temporary array. More...

Functions/Subroutines

subroutine device_array_init (this, size)
 Initialize a device array of size size.
subroutine device_array_free (this)
 Free a device array.
subroutine device_array_allocate (this, size)
 Allocate a device array (used by init and assignment).
subroutine device_array_assign (this, source)
 Assignment with deep-copy ownership semantics.
pure integer function device_array_size (this)
 Return the size of the device array.
pure logical function device_array_is_allocated (this)
 Check whether the device array is allocated.

Function/Subroutine Documentation

◆ device_array_allocate()

subroutine device_array::device_array_allocate ( class(device_array_t), intent(inout) this,
integer, intent(in) size )
private
Parameters
thisDevice array object.
sizeNumber of entries to allocate.

Definition at line 103 of file device_array.f90.

Here is the call graph for this function:

◆ device_array_assign()

subroutine device_array::device_array_assign ( class(device_array_t), intent(inout) this,
type(device_array_t), intent(in) source )
private
Parameters
thisDestination device array object.
sourceSource device array object.

Definition at line 124 of file device_array.f90.

Here is the call graph for this function:

◆ device_array_free()

subroutine device_array::device_array_free ( class(device_array_t), intent(inout) this)
private
Parameters
thisDevice array object.

Definition at line 92 of file device_array.f90.

Here is the call graph for this function:

◆ device_array_init()

subroutine device_array::device_array_init ( class(device_array_t), intent(inout) this,
integer, intent(in) size )
Parameters
thisDevice array object.
sizeNumber of entries to allocate.

Definition at line 75 of file device_array.f90.

Here is the call graph for this function:

◆ device_array_is_allocated()

pure logical function device_array::device_array_is_allocated ( class(device_array_t), intent(in) this)
private
Parameters
thisDevice array object.

Definition at line 150 of file device_array.f90.

◆ device_array_size()

pure integer function device_array::device_array_size ( class(device_array_t), intent(in) this)
private
Parameters
thisDevice array object.

Definition at line 142 of file device_array.f90.