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

Non-owning device-side views of Array objects for host and CUDA backends. More...

#include "ArrayBasic.hpp"
#include "DNDS/Defines.hpp"
#include "DNDS/DeviceStorage.hpp"
#include "DNDS/Errors.hpp"
Include dependency graph for DeviceView.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DNDS::ArrayDeviceView< B, T, _row_size, _row_max, _align >
 Non-owning device-callable view of an Array, specialised per DeviceBackend. More...
 
class  DNDS::ArrayDeviceView< DeviceBackend::Host, T, _row_size, _row_max, _align >
 Host specialisation of ArrayDeviceView; identical to the host-side ArrayView. More...
 

Namespaces

namespace  DNDS
 the host side operators are provided as implemented
 

Functions

template<DeviceBackend B, class T , rowsize _row_size, rowsize _row_max, rowsize _align>
auto DNDS::ArrayDeviceView_build (index n_size, T *n_data, index n_data_size, const index *n_rowstart, index n_rowstart_size, const rowsize *n_rowsizes, index n_rowsizes_size, rowsize n_row_size_dynamic, T *n_data_device, const index *n_rowstart_device, const rowsize *n_rowsizes_device)
 Factory for ArrayDeviceView: selects host or device pointers based on B and forwards everything else.
 

Detailed Description

Non-owning device-side views of Array objects for host and CUDA backends.

Definition in file DeviceView.hpp.