OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
Conv3x3x3< dim, p_src, p_dst > Struct Template Reference

Detailed Description

template<unsigned int dim, unsigned int p_src, unsigned int p_dst>
struct Conv3x3x3< dim, p_src, p_dst >

Definition at line 888 of file SparseGridGpu_tests.cu.

Public Types

typedef NNFull< dim > stencil_type
 
typedef NNFull< dim > stencil_type
 

Static Public Member Functions

template<typename SparseGridT , typename DataBlockWrapperT >
static __device__ void stencil (SparseGridT &sparseGrid, const unsigned int dataBlockId, openfpm::sparse_index< unsigned int > dataBlockIdPos, unsigned int offset, grid_key_dx< dim, int > &pointCoord, DataBlockWrapperT &dataBlockLoad, DataBlockWrapperT &dataBlockStore, unsigned char curMask, conv_coeff &cc)
 
template<typename SparseGridT , typename CtxT >
static void __host__ flush (SparseGridT &sparseGrid, CtxT &ctx)
 
template<typename SparseGridT , typename DataBlockWrapperT >
static __device__ void stencil (SparseGridT &sparseGrid, const unsigned int dataBlockId, openfpm::sparse_index< unsigned int > dataBlockIdPos, unsigned int offset, grid_key_dx< dim, int > &pointCoord, DataBlockWrapperT &dataBlockLoad, DataBlockWrapperT &dataBlockStore, bool applyStencilHere, conv_coeff &cc)
 
template<typename SparseGridT , typename CtxT >
static void __host__ flush (SparseGridT &sparseGrid, CtxT &ctx)
 

Static Public Attributes

static constexpr unsigned int supportRadius = 1
 
static constexpr unsigned int flops = 2*27
 

Member Typedef Documentation

◆ stencil_type [1/2]

template<unsigned int dim, unsigned int p_src, unsigned int p_dst>
typedef NNFull<dim> Conv3x3x3< dim, p_src, p_dst >::stencil_type

Definition at line 892 of file SparseGridGpu_tests.cu.

◆ stencil_type [2/2]

template<unsigned int dim, unsigned int p_src, unsigned int p_dst>
typedef NNFull<dim> Conv3x3x3< dim, p_src, p_dst >::stencil_type

Definition at line 365 of file SparseGridGpu_util_test.cuh.

Member Function Documentation

◆ flush() [1/2]

template<unsigned int dim, unsigned int p_src, unsigned int p_dst>
template<typename SparseGridT , typename CtxT >
static void __host__ Conv3x3x3< dim, p_src, p_dst >::flush ( SparseGridT &  sparseGrid,
CtxT &  ctx 
)
inlinestatic

Definition at line 948 of file SparseGridGpu_tests.cu.

◆ flush() [2/2]

template<unsigned int dim, unsigned int p_src, unsigned int p_dst>
template<typename SparseGridT , typename CtxT >
static void __host__ Conv3x3x3< dim, p_src, p_dst >::flush ( SparseGridT &  sparseGrid,
CtxT &  ctx 
)
inlinestatic

Definition at line 423 of file SparseGridGpu_util_test.cuh.

◆ stencil() [1/2]

template<unsigned int dim, unsigned int p_src, unsigned int p_dst>
template<typename SparseGridT , typename DataBlockWrapperT >
static __device__ void Conv3x3x3< dim, p_src, p_dst >::stencil ( SparseGridT &  sparseGrid,
const unsigned int  dataBlockId,
openfpm::sparse_index< unsigned int >  dataBlockIdPos,
unsigned int  offset,
grid_key_dx< dim, int > &  pointCoord,
DataBlockWrapperT &  dataBlockLoad,
DataBlockWrapperT &  dataBlockStore,
bool  applyStencilHere,
conv_coeff cc 
)
inlinestatic

Definition at line 372 of file SparseGridGpu_util_test.cuh.

◆ stencil() [2/2]

template<unsigned int dim, unsigned int p_src, unsigned int p_dst>
template<typename SparseGridT , typename DataBlockWrapperT >
static __device__ void Conv3x3x3< dim, p_src, p_dst >::stencil ( SparseGridT &  sparseGrid,
const unsigned int  dataBlockId,
openfpm::sparse_index< unsigned int >  dataBlockIdPos,
unsigned int  offset,
grid_key_dx< dim, int > &  pointCoord,
DataBlockWrapperT &  dataBlockLoad,
DataBlockWrapperT &  dataBlockStore,
unsigned char  curMask,
conv_coeff cc 
)
inlinestatic

Definition at line 897 of file SparseGridGpu_tests.cu.

Field Documentation

◆ flops

template<unsigned int dim, unsigned int p_src, unsigned int p_dst>
constexpr unsigned int Conv3x3x3< dim, p_src, p_dst >::flops = 2*27
staticconstexpr

Definition at line 369 of file SparseGridGpu_util_test.cuh.

◆ supportRadius

template<unsigned int dim, unsigned int p_src, unsigned int p_dst>
static constexpr unsigned int Conv3x3x3< dim, p_src, p_dst >::supportRadius = 1
staticconstexpr

Definition at line 894 of file SparseGridGpu_tests.cu.


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