Definition at line 71 of file BlockMapGpu_ker.cuh.
Public Types | |
typedef AggregateBlockT | AggregateType |
typedef InsertBlockWrapper< AggregateBlockT, pMask > | InsertBlockWrapperType |
Public Member Functions | |
BlockMapGpu_ker (openfpm::vector_sparse_gpu_ker< AggregateBlockT, indexT, layout_base > blockMap) | |
template<unsigned int p> | |
__device__ auto | get (unsigned int linId) const -> ScalarTypeOf< AggregateBlockT, p > |
template<unsigned int p> | |
__device__ auto | get (unsigned int blockId, unsigned int offset) const -> ScalarTypeOf< AggregateBlockT, p > |
__device__ auto | getBlock (unsigned int blockId) -> decltype(blockMap.get(0)) |
template<unsigned int p> | |
__device__ ScalarTypeOf< AggregateBlockT, p > & | getReference (unsigned int linId) |
template<unsigned int p> | |
__device__ ScalarTypeOf< AggregateBlockT, p > & | getReference (unsigned int blockId, unsigned int offset) |
template<unsigned int p> | |
__device__ auto | insert (unsigned int linId) -> ScalarTypeOf< AggregateBlockT, p > & |
template<unsigned int p> | |
__device__ auto | insert (unsigned int blockId, unsigned int offset) -> ScalarTypeOf< AggregateBlockT, p > & |
template<unsigned int nChunksPerBlocks = 1> | |
__device__ auto | insertBlock (indexT blockId, unsigned int stride=8192) -> decltype(blockMap.insert(0)) |
__device__ openfpm::vector_sparse_gpu_ker< AggregateBlockT, indexT, layout_base > & | getblockMap () |
__device__ void | get_sparse (unsigned int linId, unsigned int &dataBlockPos, unsigned int &offset) const |
__device__ void | init () |
__device__ void | flush_block_insert () |
__device__ ScalarTypeOf< AggregateBlockT, pMask > | getMask (unsigned int linId) const |
__device__ void | remove (unsigned int linId) |
__device__ void | remove (unsigned int blockId, unsigned int offset) |
__device__ auto | getIndexBuffer () -> decltype(blockMap.getIndexBuffer()) |
Return the index buffer for the sparse vector. | |
__device__ auto | getDataBuffer () -> decltype(blockMap.getDataBuffer()) |
Return the data buffer for the sparse vector. | |
Static Public Member Functions | |
template<typename BitMaskT > | |
static __device__ __host__ bool | getBit (const BitMaskT &bitMask, unsigned char pos) |
template<typename BitMaskT > | |
static __device__ __host__ void | setBit (BitMaskT &bitMask, unsigned char pos) |
template<typename BitMaskT > | |
static __device__ __host__ void | unsetBit (BitMaskT &bitMask, unsigned char pos) |
static __device__ unsigned int | getBlockId (unsigned int linId) |
static __device__ unsigned int | getOffset (unsigned int linId) |
template<typename BitMaskT > | |
static __device__ bool | exist (const BitMaskT &bitMask) |
template<typename BitMaskT > | |
static __device__ void | setExist (BitMaskT &bitMask) |
template<typename BitMaskT > | |
static __device__ void | unsetExist (BitMaskT &bitMask) |
Static Public Attributes | |
static const unsigned int | pMask = AggregateBlockT::max_prop_real - 1 |
Protected Attributes | |
openfpm::vector_sparse_gpu_ker< AggregateBlockT, indexT, layout_base > | blockMap |
Static Protected Attributes | |
static const unsigned char | EXIST_BIT = 0 |
typedef AggregateBlockT BlockMapGpu_ker< AggregateBlockT, indexT, layout_base >::AggregateType |
Definition at line 79 of file BlockMapGpu_ker.cuh.
typedef InsertBlockWrapper<AggregateBlockT, pMask> BlockMapGpu_ker< AggregateBlockT, indexT, layout_base >::InsertBlockWrapperType |
Definition at line 80 of file BlockMapGpu_ker.cuh.
|
inline |
Definition at line 102 of file BlockMapGpu_ker.cuh.
|
inlinestatic |
Definition at line 288 of file BlockMapGpu_ker.cuh.
|
inline |
Definition at line 278 of file BlockMapGpu_ker.cuh.
|
inline |
Definition at line 120 of file BlockMapGpu_ker.cuh.
|
inline |
Definition at line 106 of file BlockMapGpu_ker.cuh.
|
inline |
Definition at line 234 of file BlockMapGpu_ker.cuh.
|
inlinestatic |
Definition at line 84 of file BlockMapGpu_ker.cuh.
|
inline |
Definition at line 137 of file BlockMapGpu_ker.cuh.
|
inlinestatic |
Definition at line 251 of file BlockMapGpu_ker.cuh.
|
inline |
Definition at line 229 of file BlockMapGpu_ker.cuh.
|
inline |
Return the data buffer for the sparse vector.
Definition at line 349 of file BlockMapGpu_ker.cuh.
|
inline |
Return the index buffer for the sparse vector.
Definition at line 339 of file BlockMapGpu_ker.cuh.
|
inline |
Definition at line 305 of file BlockMapGpu_ker.cuh.
|
inlinestatic |
Definition at line 260 of file BlockMapGpu_ker.cuh.
|
inline |
Definition at line 161 of file BlockMapGpu_ker.cuh.
|
inline |
Definition at line 147 of file BlockMapGpu_ker.cuh.
|
inline |
Definition at line 269 of file BlockMapGpu_ker.cuh.
|
inline |
Definition at line 185 of file BlockMapGpu_ker.cuh.
|
inline |
Definition at line 172 of file BlockMapGpu_ker.cuh.
|
inline |
Definition at line 200 of file BlockMapGpu_ker.cuh.
|
inline |
Definition at line 322 of file BlockMapGpu_ker.cuh.
|
inline |
Definition at line 310 of file BlockMapGpu_ker.cuh.
|
inlinestatic |
Definition at line 90 of file BlockMapGpu_ker.cuh.
|
inlinestatic |
Definition at line 294 of file BlockMapGpu_ker.cuh.
|
inlinestatic |
Definition at line 96 of file BlockMapGpu_ker.cuh.
|
inlinestatic |
Definition at line 300 of file BlockMapGpu_ker.cuh.
|
protected |
Definition at line 74 of file BlockMapGpu_ker.cuh.
|
staticprotected |
Definition at line 75 of file BlockMapGpu_ker.cuh.
|
static |
Definition at line 78 of file BlockMapGpu_ker.cuh.