|
DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
|
Legacy std::vector<T> subclass with an optional device mirror.
More...
#include <Vector.hpp>
Public Types | |
| using | t_base = std::vector< T > |
| using | t_self = host_device_vector_r0< T > |
| template<DeviceBackend B, typename TSize = int64_t> | |
| using | t_deviceView = vector_DeviceView< B, T, TSize > |
Public Member Functions | |
| DNDS_HOST | host_device_vector_r0 (const std::vector< T > &v) |
| DNDS_HOST t_self & | operator= (const std::vector< T > &v) |
| void | to_device (DeviceBackend backend=DeviceBackend::Host) |
| void | to_host () |
| T * | dataDevice () |
| template<DeviceBackend B, typename TSize = int64_t> | |
| t_deviceView< B, TSize > | deviceView () |
| const T * | dataDevice () const |
| t_self & | operator= (const t_self &R) |
| host_device_vector_r0 (const t_self &R) | |
| DeviceBackend | device () |
| void | clear_device () |
| void | swap (t_self &R) noexcept |
Public Attributes | |
| t_supDeviceStorageBase | deviceStorage = null_supDeviceStorageBase() |
Legacy std::vector<T> subclass with an optional device mirror.
Simpler predecessor of #host_device_vector_r1, kept for third-party interop that expected a true std::vector<T>. Prefer host_device_vector (aliased to _r1) for new code.
Definition at line 413 of file Vector.hpp.
| using DNDS::host_device_vector_r0< T >::t_base = std::vector<T> |
Definition at line 417 of file Vector.hpp.
| using DNDS::host_device_vector_r0< T >::t_deviceView = vector_DeviceView<B, T, TSize> |
Definition at line 464 of file Vector.hpp.
| using DNDS::host_device_vector_r0< T >::t_self = host_device_vector_r0<T> |
Definition at line 419 of file Vector.hpp.
|
inline |
Definition at line 423 of file Vector.hpp.
|
inline |
|
inline |
Definition at line 512 of file Vector.hpp.
|
inline |
|
inline |
Definition at line 476 of file Vector.hpp.
|
inline |
|
inline |
|
inline |
Definition at line 425 of file Vector.hpp.
|
inline |
|
inlinenoexcept |
Definition at line 517 of file Vector.hpp.
|
inline |
Definition at line 439 of file Vector.hpp.
|
inline |
| t_supDeviceStorageBase DNDS::host_device_vector_r0< T >::deviceStorage = null_supDeviceStorageBase() |
Definition at line 421 of file Vector.hpp.