OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
openfpm::scalar_block_implementation_switch< 2, block_functor > Struct Template Reference

Detailed Description

template<typename block_functor>
struct openfpm::scalar_block_implementation_switch< 2, block_functor >

Definition at line 247 of file map_vector_sparse.hpp.

Static Public Member Functions

template<unsigned int p, typename vector_index_type >
static void extendSegments (vector_index_type &segments, size_t dataSize)
 
template<unsigned int pSegment, typename vector_reduction , typename T , typename vector_data_type , typename vector_index_type , typename vector_index_type2 >
static void segreduce (vector_data_type &vector_data, vector_data_type &vector_data_unsorted, vector_index_type &vector_data_map, vector_index_type2 &segment_offset, vector_data_type &vector_data_red, block_functor &blf, gpu::ofp_context_t &context)
 
template<typename vector_data_type , typename vector_index_type , typename vector_index_type2 , typename vector_index_dtmp_type , typename Ti , typename ... v_reduce>
static void solveConflicts (vector_index_type &vct_index_old, vector_index_type &vct_index_merge, vector_index_type &vct_index_merge_id, vector_index_type &vct_index_out, vector_index_dtmp_type &vct_index_dtmp, vector_index_type &data_map, vector_index_type2 &segments_new, vector_data_type &vct_data, vector_data_type &vct_add_data, vector_data_type &vct_add_data_unique, vector_data_type &vct_data_out, ite_gpu< 1 > &itew, block_functor &blf, gpu::ofp_context_t &context)
 

Member Function Documentation

◆ extendSegments()

template<typename block_functor >
template<unsigned int p, typename vector_index_type >
static void openfpm::scalar_block_implementation_switch< 2, block_functor >::extendSegments ( vector_index_type &  segments,
size_t  dataSize 
)
inlinestatic

Definition at line 250 of file map_vector_sparse.hpp.

◆ segreduce()

template<typename block_functor >
template<unsigned int pSegment, typename vector_reduction , typename T , typename vector_data_type , typename vector_index_type , typename vector_index_type2 >
static void openfpm::scalar_block_implementation_switch< 2, block_functor >::segreduce ( vector_data_type &  vector_data,
vector_data_type &  vector_data_unsorted,
vector_index_type &  vector_data_map,
vector_index_type2 &  segment_offset,
vector_data_type &  vector_data_red,
block_functor &  blf,
gpu::ofp_context_t context 
)
inlinestatic

Definition at line 263 of file map_vector_sparse.hpp.

◆ solveConflicts()

template<typename block_functor >
template<typename vector_data_type , typename vector_index_type , typename vector_index_type2 , typename vector_index_dtmp_type , typename Ti , typename ... v_reduce>
static void openfpm::scalar_block_implementation_switch< 2, block_functor >::solveConflicts ( vector_index_type &  vct_index_old,
vector_index_type &  vct_index_merge,
vector_index_type &  vct_index_merge_id,
vector_index_type &  vct_index_out,
vector_index_dtmp_type &  vct_index_dtmp,
vector_index_type &  data_map,
vector_index_type2 &  segments_new,
vector_data_type &  vct_data,
vector_data_type &  vct_add_data,
vector_data_type &  vct_add_data_unique,
vector_data_type &  vct_data_out,
ite_gpu< 1 > &  itew,
block_functor &  blf,
gpu::ofp_context_t context 
)
inlinestatic

Definition at line 281 of file map_vector_sparse.hpp.


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