DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
DNDS::device_storage_factory< B > Struct Template Reference

Factory functions for constructing DeviceStorageBase instances of a specific backend. Specialised per backend so that the concrete type creation can live in backend-specific translation units. More...

#include <DeviceStorage.hpp>

Static Public Member Functions

static t_supDeviceStorageBase device_storage_create_unique (DeviceBackend backend, size_t n_bytes)
 
static t_sspDeviceStorageBase device_storage_create_shared (DeviceBackend backend, size_t n_bytes)
 

Detailed Description

template<DeviceBackend B>
struct DNDS::device_storage_factory< B >

Factory functions for constructing DeviceStorageBase instances of a specific backend. Specialised per backend so that the concrete type creation can live in backend-specific translation units.

Definition at line 133 of file DeviceStorage.hpp.

Member Function Documentation

◆ device_storage_create_shared()

template<DeviceBackend B>
static t_sspDeviceStorageBase DNDS::device_storage_factory< B >::device_storage_create_shared ( DeviceBackend  backend,
size_t  n_bytes 
)
static

◆ device_storage_create_unique()

template<DeviceBackend B>
static t_supDeviceStorageBase DNDS::device_storage_factory< B >::device_storage_create_unique ( DeviceBackend  backend,
size_t  n_bytes 
)
static
Here is the caller graph for this function:

The documentation for this struct was generated from the following file: