|
BitMagic-C++
|
Parallel plan builder for succinct sparse vector serialization. More...
#include <bmsparsevec_parallel.h>

Data Structures | |
| struct | serialization_params |
| struct | task_batch |
Public Types | |
| typedef SV | sparse_vector_type |
| typedef SV::bvector_type | bvector_type |
| typedef SV::size_type | size_type |
| typedef bvector_type::allocator_type | allocator_type |
| typedef bm::bv_ref_vector< bvector_type > | bv_ref_vector_type |
| typedef bm::xor_sim_model< bvector_type > | xor_sim_model_type |
Public Member Functions | |
| sv_serialization_plan_builder () | |
| void | set_bookmarks (bool enable, unsigned bm_interval=256) BMNOEXCEPT |
| void | set_xor_ref (const bv_ref_vector_type *bv_ref_ptr) BMNOEXCEPT |
| void | set_sim_model (const xor_sim_model_type *sim_model) BMNOEXCEPT |
| void | build_plan (task_batch &batch, sparse_vector_serial_layout< SV > &sv_layout, const sparse_vector_type &sv) |
Static Protected Member Functions | |
| static void * | task_run (void *argp) |
| Task execution Entry Point. | |
| static void * | task_run_final (void *argp) |
Protected Attributes | |
| serialization_params | s_params_ |
Parallel plan builder for succinct sparse vector serialization.
Definition at line 162 of file bmsparsevec_parallel.h.
| typedef bvector_type::allocator_type bm::sv_serialization_plan_builder< SV >::allocator_type |
Definition at line 168 of file bmsparsevec_parallel.h.
| typedef bm::bv_ref_vector<bvector_type> bm::sv_serialization_plan_builder< SV >::bv_ref_vector_type |
Definition at line 169 of file bmsparsevec_parallel.h.
| typedef SV::bvector_type bm::sv_serialization_plan_builder< SV >::bvector_type |
Definition at line 166 of file bmsparsevec_parallel.h.
| typedef SV::size_type bm::sv_serialization_plan_builder< SV >::size_type |
Definition at line 167 of file bmsparsevec_parallel.h.
| typedef SV bm::sv_serialization_plan_builder< SV >::sparse_vector_type |
Definition at line 165 of file bmsparsevec_parallel.h.
| typedef bm::xor_sim_model<bvector_type> bm::sv_serialization_plan_builder< SV >::xor_sim_model_type |
Definition at line 170 of file bmsparsevec_parallel.h.
|
inline |
Definition at line 199 of file bmsparsevec_parallel.h.
|
inline |
Definition at line 212 of file bmsparsevec_parallel.h.
References bm::task_descr::barrier_ok, BM_ASSERT, bm::task_batch< BVAlloc >::get_task_vector(), bm::task_descr::init(), bm::sv_serialization_plan_builder< SV >::task_batch::s_params, s_params_, bm::sparse_vector_serial_layout< SV >::set_plane(), and bm::sv_serialization_plan_builder< SV >::serialization_params::sim_model_ptr_.
|
inline |
Definition at line 202 of file bmsparsevec_parallel.h.
References BMNOEXCEPT, and s_params_.
|
inline |
Definition at line 208 of file bmsparsevec_parallel.h.
References BMNOEXCEPT, and s_params_.
|
inline |
Definition at line 205 of file bmsparsevec_parallel.h.
References BMNOEXCEPT, and s_params_.
|
inlinestaticprotected |
Task execution Entry Point.
Definition at line 279 of file bmsparsevec_parallel.h.
|
inlinestaticprotected |
Definition at line 287 of file bmsparsevec_parallel.h.
|
protected |
Definition at line 295 of file bmsparsevec_parallel.h.
Referenced by build_plan(), set_bookmarks(), set_sim_model(), and set_xor_ref().