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 *src_idx)
 

Protected Member Functions

template<typename IntType >
void parallel_copy_run (const IntType *src_idx, const ::tbb::blocked_range< size_type > &range)
 
template<typename IntType >
void parallel_copy_run (const IntType *src_idx, const ::tbb::blocked_range< size_type > &range, const ::tbb::auto_partitioner &partitioner)
 
template<typename IntType >
void parallel_copy_run (const IntType *src_idx, const ::tbb::blocked_range< size_type > &range, const ::tbb::simple_partitioner &partitioner)
 
template<typename IntType >
void parallel_copy_run (const IntType *src_idx, const ::tbb::blocked_range< size_type > &range,::tbb::affinity_partitioner &partitioner)
 
template<typename IntType >
void parallel_copy_run (const IntType *src_idx, 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 *src_idx, 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 *src_idx, 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 74 of file backend_tbb.hpp.

Member Typedef Documentation

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

Definition at line 77 of file backend_tbb.hpp.

Constructor & Destructor Documentation

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

Definition at line 79 of file backend_tbb.hpp.

Member Function Documentation

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

Definition at line 82 of file backend_tbb.hpp.

template<typename StateBase>
template<typename IntType >
void vsmc::StateTBB< StateBase >::parallel_copy_run ( const IntType *  src_idx,
const ::tbb::blocked_range< size_type > &  range 
)
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 *  src_idx,
const ::tbb::blocked_range< size_type > &  range,
const ::tbb::auto_partitioner &  partitioner 
)
inlineprotected

Definition at line 117 of file backend_tbb.hpp.

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

Definition at line 126 of file backend_tbb.hpp.

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

Definition at line 135 of file backend_tbb.hpp.

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

Definition at line 145 of file backend_tbb.hpp.

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

Definition at line 155 of file backend_tbb.hpp.

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

Definition at line 165 of file backend_tbb.hpp.