Functor switch to select the vector sparse for standars scalar and blocked implementation. More...
Functor switch to select the vector sparse for standars scalar and blocked implementation.
Definition at line 121 of file map_vector_sparse.hpp.
#include <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_old, 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 124 of file map_vector_sparse.hpp.
|
inlinestatic |
Definition at line 137 of file map_vector_sparse.hpp.
|
inlinestatic |
\briefMerge all datas
vct_index_old | sorted vector of the old indexes |
vct_data_old | vector of old data |
vct_index_out | output indexes merged new and old indexes |
vct_index_merge_id | indicate from where it come from the merged index (if the number is bigger than vct_index_old.size() the merged index come from the new data) |
vct_index_merge | indexes old and new merged with conflicts |
vct_add_data_unique | data to add (has been already reduced) |
vct_data_old | old data |
vct_add_data | data to add in its original form in the insert buffer |
vct_data_out | reduced data vector new + old |
vct_index_dtmp | temporal buffer vector used for intermediate calculation |
Definition at line 187 of file map_vector_sparse.hpp.