vSMC
vSMC: Scalable Monte Carlo
Classes | Public Types | Public Member Functions | Protected Member Functions | List of all members
vsmc::StateTBB< StateBase > Class Template Reference

Particle::value_type subtype using Intel Threading Building Blocks. More...

#include <vsmc/smp/backend_tbb.hpp>

Classes

class  work_type
 

Public Types

using size_type = SizeType< StateBase >
 

Public Member Functions

 StateTBB (size_type N)
 
template<typename IntType >
void copy (size_type N, const IntType *index)
 

Protected Member Functions

template<typename IntType >
void parallel_copy_run (const IntType *index, const ::tbb::blocked_range< size_type > &range)
 
template<typename IntType >
void parallel_copy_run (const IntType *index, const ::tbb::blocked_range< size_type > &range, const ::tbb::auto_partitioner &partitioner)
 
template<typename IntType >
void parallel_copy_run (const IntType *index, const ::tbb::blocked_range< size_type > &range, const ::tbb::simple_partitioner &partitioner)
 
template<typename IntType >
void parallel_copy_run (const IntType *index, const ::tbb::blocked_range< size_type > &range,::tbb::affinity_partitioner &partitioner)
 
template<typename IntType >
void parallel_copy_run (const IntType *index, const ::tbb::blocked_range< size_type > &range, const ::tbb::auto_partitioner &partitioner,::tbb::task_group_context &context)
 
template<typename IntType >
void parallel_copy_run (const IntType *index, const ::tbb::blocked_range< size_type > &range, const ::tbb::simple_partitioner &partitioner,::tbb::task_group_context &context)
 
template<typename IntType >
void parallel_copy_run (const IntType *index, const ::tbb::blocked_range< size_type > &range,::tbb::affinity_partitioner &partitioner,::tbb::task_group_context &context)
 

Detailed Description

template<typename StateBase>
class vsmc::StateTBB< StateBase >

Particle::value_type subtype using Intel Threading Building Blocks.

Definition at line 67 of file backend_tbb.hpp.

Member Typedef Documentation

template<typename StateBase>
using vsmc::StateTBB< StateBase >::size_type = SizeType<StateBase>

Definition at line 70 of file backend_tbb.hpp.

Constructor & Destructor Documentation

template<typename StateBase>
vsmc::StateTBB< StateBase >::StateTBB ( size_type  N)
inlineexplicit

Definition at line 72 of file backend_tbb.hpp.

Member Function Documentation

template<typename StateBase>
template<typename IntType >
void vsmc::StateTBB< StateBase >::copy ( size_type  N,
const IntType *  index 
)
inline

Definition at line 75 of file backend_tbb.hpp.

template<typename StateBase>
template<typename IntType >
void vsmc::StateTBB< StateBase >::parallel_copy_run ( const IntType *  index,
const ::tbb::blocked_range< size_type > &  range 
)
inlineprotected

Definition at line 103 of file backend_tbb.hpp.

template<typename StateBase>
template<typename IntType >
void vsmc::StateTBB< StateBase >::parallel_copy_run ( const IntType *  index,
const ::tbb::blocked_range< size_type > &  range,
const ::tbb::auto_partitioner &  partitioner 
)
inlineprotected

Definition at line 110 of file backend_tbb.hpp.

template<typename StateBase>
template<typename IntType >
void vsmc::StateTBB< StateBase >::parallel_copy_run ( const IntType *  index,
const ::tbb::blocked_range< size_type > &  range,
const ::tbb::simple_partitioner &  partitioner 
)
inlineprotected

Definition at line 119 of file backend_tbb.hpp.

template<typename StateBase>
template<typename IntType >
void vsmc::StateTBB< StateBase >::parallel_copy_run ( const IntType *  index,
const ::tbb::blocked_range< size_type > &  range,
::tbb::affinity_partitioner &  partitioner 
)
inlineprotected

Definition at line 128 of file backend_tbb.hpp.

template<typename StateBase>
template<typename IntType >
void vsmc::StateTBB< StateBase >::parallel_copy_run ( const IntType *  index,
const ::tbb::blocked_range< size_type > &  range,
const ::tbb::auto_partitioner &  partitioner,
::tbb::task_group_context &  context 
)
inlineprotected

Definition at line 138 of file backend_tbb.hpp.

template<typename StateBase>
template<typename IntType >
void vsmc::StateTBB< StateBase >::parallel_copy_run ( const IntType *  index,
const ::tbb::blocked_range< size_type > &  range,
const ::tbb::simple_partitioner &  partitioner,
::tbb::task_group_context &  context 
)
inlineprotected

Definition at line 148 of file backend_tbb.hpp.

template<typename StateBase>
template<typename IntType >
void vsmc::StateTBB< StateBase >::parallel_copy_run ( const IntType *  index,
const ::tbb::blocked_range< size_type > &  range,
::tbb::affinity_partitioner &  partitioner,
::tbb::task_group_context &  context 
)
inlineprotected

Definition at line 158 of file backend_tbb.hpp.