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

Module containing host-only array type.

Data Types

type  host_array_t
 Host-only temporary array. More...
 

Functions/Subroutines

subroutine host_array_init (this, size)
 Initialize a host array of size size.
 
subroutine host_array_free (this)
 Free a host array.
 
subroutine host_array_allocate (this, size)
 Allocate a host array (used by init and assignment).
 
subroutine host_array_assign (this, source)
 Assignment with deep-copy ownership semantics.
 
pure integer function host_array_size (this)
 Return the number of entries in the host array.
 
pure logical function host_array_is_allocated (this)
 Check whether the host array is allocated.
 

Function/Subroutine Documentation

◆ host_array_allocate()

subroutine host_array::host_array_allocate ( class(host_array_t), intent(inout this,
integer, intent(in size 
)
private
Parameters
thishost array object.
sizeNumber of entries to allocate.

Definition at line 95 of file host_array.f90.

◆ host_array_assign()

subroutine host_array::host_array_assign ( class(host_array_t), intent(inout this,
class(host_array_t), intent(in source 
)
private
Parameters
thisDestination host array object.
sourceSource host array object.

Definition at line 107 of file host_array.f90.

Here is the call graph for this function:

◆ host_array_free()

subroutine host_array::host_array_free ( class(host_array_t), intent(inout this)
private
Parameters
thisHost array object.

Definition at line 84 of file host_array.f90.

◆ host_array_init()

subroutine host_array::host_array_init ( class(host_array_t), intent(inout this,
integer, intent(in size 
)
Parameters
thisHost array object.
sizeNumber of entries to allocate.

Definition at line 72 of file host_array.f90.

Here is the call graph for this function:

◆ host_array_is_allocated()

pure logical function host_array::host_array_is_allocated ( class(host_array_t), intent(in this)
private
Parameters
thisHost array object.

Definition at line 133 of file host_array.f90.

◆ host_array_size()

pure integer function host_array::host_array_size ( class(host_array_t), intent(in this)
private
Parameters
thisHost array object.

Definition at line 125 of file host_array.f90.