DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
Vector.hpp File Reference

Host-device vector types with optional GPU storage and device-side views. More...

#include "DNDS/Errors.hpp"
#include "DeviceStorage.hpp"
#include <algorithm>
#include <cstddef>
#include <memory>
#include <string>
#include <utility>
Include dependency graph for Vector.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DNDS::DeviceHostSingleAllocationBase
 Abstract single-allocation owning byte buffer. More...
 
class  DNDS::DeviceHostSingleAllocationDirect
 Concrete DeviceHostSingleAllocationBase using std::vector<uint8_t> for host memory and DeviceStorage for device memory. More...
 
class  DNDS::vector_DeviceView< B, T, TSize >
 Non-owning device-callable view {pointer, size} over a typed array. More...
 
class  DNDS::data_vector_base< T, Derived >
 CRTP base offering operator[] / at on top of a derived's data() and size() accessors. Used by both #host_device_vector_r1 and (implicitly) #host_device_vector_r0. More...
 
class  DNDS::host_device_vector_r1< T >
 Host + optional device vector of trivially copyable T. More...
 
struct  DNDS::host_device_vector_r0< T >
 Legacy std::vector<T> subclass with an optional device mirror. More...
 

Namespaces

namespace  DNDS
 the host side operators are provided as implemented
 

Typedefs

template<class T >
using DNDS::host_device_vector = host_device_vector_r1< T >
 Primary public alias: host_device_vector<T> = #host_device_vector_r1<T>. Prefer this name throughout the code base.
 

Detailed Description

Host-device vector types with optional GPU storage and device-side views.

Definition in file Vector.hpp.