Discontinuous Galerkin Library
#include "dg/algorithm.h"
Loading...
Searching...
No Matches
dg::detail::CSRCache_gpu Struct Reference

Public Member Functions

 CSRCache_gpu ()=default
 
template<class I , class V >
 CSRCache_gpu (size_t num_rows, size_t num_cols, size_t nnz, const I *pos, const I *idx, const V *val)
 
 CSRCache_gpu (const CSRCache_gpu &src)
 
 CSRCache_gpu (CSRCache_gpu &&src)
 
CSRCache_gpuoperator= (const CSRCache_gpu &src)
 
CSRCache_gpuoperator= (CSRCache_gpu &&src)
 
 ~CSRCache_gpu ()
 
void swap (CSRCache_gpu &src)
 
void forget ()
 
bool isUpToDate () const
 
template<class I , class V >
void update (size_t num_rows, size_t num_cols, size_t nnz, const I *pos, const I *idx, const V *val)
 
size_t getBufferSize ()
 
void * getBuffer ()
 
cusparseSpMatDescr_t getSpMat () const
 

Constructor & Destructor Documentation

◆ CSRCache_gpu() [1/4]

dg::detail::CSRCache_gpu::CSRCache_gpu ( )
default

◆ CSRCache_gpu() [2/4]

template<class I , class V >
dg::detail::CSRCache_gpu::CSRCache_gpu ( size_t num_rows,
size_t num_cols,
size_t nnz,
const I * pos,
const I * idx,
const V * val )
inline

◆ CSRCache_gpu() [3/4]

dg::detail::CSRCache_gpu::CSRCache_gpu ( const CSRCache_gpu & src)
inline

◆ CSRCache_gpu() [4/4]

dg::detail::CSRCache_gpu::CSRCache_gpu ( CSRCache_gpu && src)
inline

◆ ~CSRCache_gpu()

dg::detail::CSRCache_gpu::~CSRCache_gpu ( )
inline

Member Function Documentation

◆ forget()

void dg::detail::CSRCache_gpu::forget ( )
inline

◆ getBuffer()

void * dg::detail::CSRCache_gpu::getBuffer ( )
inline

◆ getBufferSize()

size_t dg::detail::CSRCache_gpu::getBufferSize ( )
inline

◆ getSpMat()

cusparseSpMatDescr_t dg::detail::CSRCache_gpu::getSpMat ( ) const
inline

◆ isUpToDate()

bool dg::detail::CSRCache_gpu::isUpToDate ( ) const
inline

◆ operator=() [1/2]

CSRCache_gpu & dg::detail::CSRCache_gpu::operator= ( const CSRCache_gpu & src)
inline

◆ operator=() [2/2]

CSRCache_gpu & dg::detail::CSRCache_gpu::operator= ( CSRCache_gpu && src)
inline

◆ swap()

void dg::detail::CSRCache_gpu::swap ( CSRCache_gpu & src)
inline

◆ update()

template<class I , class V >
void dg::detail::CSRCache_gpu::update ( size_t num_rows,
size_t num_cols,
size_t nnz,
const I * pos,
const I * idx,
const V * val )
inline

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