|
DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
|
Host + optional device vector of trivially copyable T.
More...
#include <Vector.hpp>
Public Types | |
| template<DeviceBackend B, typename TSize = int64_t> | |
| using | t_deviceView = vector_DeviceView< B, T, TSize > |
Host + optional device vector of trivially copyable T.
Primary storage type used inside Array. Always maintains a host copy; on demand, a device mirror can be created via to_device. Many "vector-like" std::vector operations (resize, assign, operator[]) have been reimplemented so the class can be used as a drop-in replacement in DNDSR code paths that need device-awareness.
Use the variant host_device_vector (a thin alias below) to pick up the appropriate specialisation based on element type.
Definition at line 216 of file Vector.hpp.
| using DNDS::host_device_vector_r1< T >::t_deviceView = vector_DeviceView<B, T, TSize> |
Definition at line 349 of file Vector.hpp.
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
the cloned host "device" has no idea where new data reference is use to_device to sync it
Definition at line 377 of file Vector.hpp.
|
inline |
|
inline |
Definition at line 298 of file Vector.hpp.
|
inline |
Definition at line 301 of file Vector.hpp.
|
inline |
Definition at line 302 of file Vector.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 291 of file Vector.hpp.
|
inline |
|
inline |
Definition at line 294 of file Vector.hpp.
|
inline |
|
inline |
Definition at line 351 of file Vector.hpp.
|
inline |
|
inline |
Definition at line 299 of file Vector.hpp.
|
inlineexplicit |
Definition at line 304 of file Vector.hpp.
|
inline |
Definition at line 254 of file Vector.hpp.
|
inline |
the cloned host "device" has no idea where new data reference is use to_device to sync it
Definition at line 361 of file Vector.hpp.
|
inline |
|
inline |
|
inlinenoexcept |
Definition at line 395 of file Vector.hpp.
|
inline |
Definition at line 312 of file Vector.hpp.
|
inline |
Definition at line 339 of file Vector.hpp.