|
Neko 1.99.3
A portable framework for high-order spectral element flow simulations
|
Device-only temporary array. More...

Public Member Functions | |
| procedure, pass(this) | init (this, size) |
| Initialize the array. | |
| procedure, pass(this) | free (this) |
| Free the array. | |
| procedure, pass(this) | size (this) |
| Return the number of entries. | |
| procedure, pass(this) | is_allocated (this) |
| Check whether storage is allocated. | |
| procedure, pass(this) | assign (this, source) |
| Assignment with deep-copy ownership semantics. | |
| generic | assignment (this, source) |
| Assignments. | |
Public Attributes | |
| type(c_ptr) | x_d = C_NULL_PTR |
| Device pointer. | |
Private Member Functions | |
| procedure, pass(this), private | allocate (this, size) |
| Allocate the array. | |
Private Attributes | |
| integer, private | n = 0 |
| Number of entries. | |
Definition at line 46 of file device_array.f90.
|
private |
| this | Device array object. |
| size | Number of entries to allocate. |
Definition at line 57 of file device_array.f90.
| procedure, pass(this) device_array::device_array_t::assign | ( | class(device_array_t), intent(inout) | this, |
| type(device_array_t), intent(in) | source | ||
| ) |
| this | Destination device array object. |
| source | Source device array object. |
Definition at line 63 of file device_array.f90.
| generic device_array::device_array_t::assignment | ( | class(device_array_t), intent(inout) | this, |
| type(device_array_t), intent(in) | source | ||
| ) |
| this | Destination device array object. |
| source | Source device array object. |
Definition at line 66 of file device_array.f90.
| procedure, pass(this) device_array::device_array_t::free | ( | class(device_array_t), intent(inout) | this | ) |
| this | Device array object. |
Definition at line 55 of file device_array.f90.
| procedure, pass(this) device_array::device_array_t::init | ( | class(device_array_t), intent(inout) | this, |
| integer, intent(in) | size | ||
| ) |
| this | Device array object. |
| size | Number of entries to allocate. |
Definition at line 53 of file device_array.f90.
| procedure, pass(this) device_array::device_array_t::is_allocated | ( | class(device_array_t), intent(in) | this | ) |
| this | Device array object. |
Definition at line 61 of file device_array.f90.
| this | Device array object. |
Definition at line 59 of file device_array.f90.
Definition at line 50 of file device_array.f90.
| type(c_ptr) device_array::device_array_t::x_d = C_NULL_PTR |
Definition at line 48 of file device_array.f90.