Device-only temporary array.
More...
|
| 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.
|
|
| type(c_ptr) | x_d = C_NULL_PTR |
| | Device pointer.
|
|
| procedure, pass(this), private | allocate (this, size) |
| | Allocate the array.
|
|
| integer, private | n = 0 |
| | Number of entries.
|
Definition at line 47 of file device_array.f90.
◆ allocate()
| procedure, pass(this), private device_array::device_array_t::allocate |
( |
class(device_array_t), intent(inout) | this, |
|
|
integer, intent(in) | size ) |
|
private |
- Parameters
-
| this | Device array object. |
| size | Number of entries to allocate. |
Definition at line 58 of file device_array.f90.
◆ assign()
| procedure, pass(this) device_array::device_array_t::assign |
( |
class(device_array_t), intent(inout) | this, |
|
|
type(device_array_t), intent(in) | source ) |
- Parameters
-
| this | Destination device array object. |
| source | Source device array object. |
Definition at line 64 of file device_array.f90.
◆ assignment()
- Parameters
-
| this | Destination device array object. |
| source | Source device array object. |
Definition at line 67 of file device_array.f90.
◆ free()
| procedure, pass(this) device_array::device_array_t::free |
( |
class(device_array_t), intent(inout) | this | ) |
|
◆ init()
| procedure, pass(this) device_array::device_array_t::init |
( |
class(device_array_t), intent(inout) | this, |
|
|
integer, intent(in) | size ) |
- Parameters
-
| this | Device array object. |
| size | Number of entries to allocate. |
Definition at line 54 of file device_array.f90.
◆ is_allocated()
| procedure, pass(this) device_array::device_array_t::is_allocated |
( |
class(device_array_t), intent(in) | this | ) |
|
◆ size()
| procedure, pass(this) device_array::device_array_t::size |
( |
class(device_array_t), intent(in) | this | ) |
|
| integer, private device_array::device_array_t::n = 0 |
|
private |
◆ x_d
| type(c_ptr) device_array::device_array_t::x_d = C_NULL_PTR |
The documentation for this type was generated from the following file: