vSMC
vSMC: Scalable Monte Carlo
Classes | Public Member Functions | Protected Member Functions | List of all members
vsmc::InitializeTBB< T, Derived > Class Template Reference

Sampler<T>::init_type subtype using Intel Threading Building Blocks. More...

#include <vsmc/smp/backend_tbb.hpp>

Classes

class  work_type
 

Public Member Functions

std::size_t operator() (Particle< T > &particle, void *param)
 
- Public Member Functions inherited from vsmc::InitializeBase< T, Derived >
void eval_param (Particle< T > &particle, void *param)
 
void eval_post (Particle< T > &particle)
 
void eval_pre (Particle< T > &particle)
 
std::size_t eval_sp (SingleParticle< T > sp)
 

Protected Member Functions

 InitializeTBB ()=default
 
 InitializeTBB (const InitializeTBB< T, Derived > &)=default
 
 InitializeTBB (InitializeTBB< T, Derived > &&)=default
 
 ~InitializeTBB ()
 
InitializeTBB< T, Derived > & operator= (InitializeTBB< T, Derived > &&)=default
 
InitializeTBB< T, Derived > & operator= (InitializeTBB< T, Derived > &)=default
 
std::size_t parallel_run (Particle< T > &particle, void *param, const ::tbb::blocked_range< typename Particle< T >::size_type > &range)
 
std::size_t parallel_run (Particle< T > &particle, void *param, const ::tbb::blocked_range< typename Particle< T >::size_type > &range, const ::tbb::auto_partitioner &partitioner)
 
std::size_t parallel_run (Particle< T > &particle, void *param, const ::tbb::blocked_range< typename Particle< T >::size_type > &range, const ::tbb::simple_partitioner &partitioner)
 
std::size_t parallel_run (Particle< T > &particle, void *param, const ::tbb::blocked_range< typename Particle< T >::size_type > &range,::tbb::affinity_partitioner &partitioner)
 
std::size_t parallel_run (Particle< T > &particle, void *param, const ::tbb::blocked_range< typename Particle< T >::size_type > &range, const ::tbb::auto_partitioner &partitioner,::tbb::task_group_context &context)
 
std::size_t parallel_run (Particle< T > &particle, void *param, const ::tbb::blocked_range< typename Particle< T >::size_type > &range, const ::tbb::simple_partitioner &partitioner,::tbb::task_group_context &context)
 
std::size_t parallel_run (Particle< T > &particle, void *param, const ::tbb::blocked_range< typename Particle< T >::size_type > &range,::tbb::affinity_partitioner &partitioner,::tbb::task_group_context &context)
 
- Protected Member Functions inherited from vsmc::InitializeBase< T, Derived >
 InitializeBase ()=default
 
 InitializeBase (const InitializeBase< T, Derived > &)=default
 
 InitializeBase (InitializeBase< T, Derived > &&)=default
 
virtual ~InitializeBase ()
 
InitializeBase< T, Derived > & operator= (const InitializeBase< T, Derived > &)=default
 
InitializeBase< T, Derived > & operator= (InitializeBase< T, Derived > &&)=default
 

Detailed Description

template<typename T, typename Derived>
class vsmc::InitializeTBB< T, Derived >

Sampler<T>::init_type subtype using Intel Threading Building Blocks.

Definition at line 62 of file backend_tbb.hpp.

Constructor & Destructor Documentation

template<typename T, typename Derived>
vsmc::InitializeTBB< T, Derived >::InitializeTBB ( )
protecteddefault
template<typename T, typename Derived>
vsmc::InitializeTBB< T, Derived >::InitializeTBB ( const InitializeTBB< T, Derived > &  )
protecteddefault
template<typename T, typename Derived>
vsmc::InitializeTBB< T, Derived >::InitializeTBB ( InitializeTBB< T, Derived > &&  )
protecteddefault
template<typename T, typename Derived>
vsmc::InitializeTBB< T, Derived >::~InitializeTBB ( )
inlineprotected

Definition at line 183 of file backend_tbb.hpp.

Member Function Documentation

template<typename T, typename Derived>
std::size_t vsmc::InitializeTBB< T, Derived >::operator() ( Particle< T > &  particle,
void *  param 
)
inline

Definition at line 175 of file backend_tbb.hpp.

template<typename T, typename Derived>
InitializeTBB<T, Derived>& vsmc::InitializeTBB< T, Derived >::operator= ( InitializeTBB< T, Derived > &  )
protecteddefault
template<typename T, typename Derived>
InitializeTBB<T, Derived>& vsmc::InitializeTBB< T, Derived >::operator= ( InitializeTBB< T, Derived > &&  )
protecteddefault
template<typename T, typename Derived>
std::size_t vsmc::InitializeTBB< T, Derived >::parallel_run ( Particle< T > &  particle,
void *  param,
const ::tbb::blocked_range< typename Particle< T >::size_type > &  range 
)
inlineprotected

Definition at line 216 of file backend_tbb.hpp.

template<typename T, typename Derived>
std::size_t vsmc::InitializeTBB< T, Derived >::parallel_run ( Particle< T > &  particle,
void *  param,
const ::tbb::blocked_range< typename Particle< T >::size_type > &  range,
const ::tbb::auto_partitioner &  partitioner 
)
inlineprotected

Definition at line 222 of file backend_tbb.hpp.

template<typename T, typename Derived>
std::size_t vsmc::InitializeTBB< T, Derived >::parallel_run ( Particle< T > &  particle,
void *  param,
const ::tbb::blocked_range< typename Particle< T >::size_type > &  range,
const ::tbb::simple_partitioner &  partitioner 
)
inlineprotected

Definition at line 230 of file backend_tbb.hpp.

template<typename T, typename Derived>
std::size_t vsmc::InitializeTBB< T, Derived >::parallel_run ( Particle< T > &  particle,
void *  param,
const ::tbb::blocked_range< typename Particle< T >::size_type > &  range,
::tbb::affinity_partitioner &  partitioner 
)
inlineprotected

Definition at line 238 of file backend_tbb.hpp.

template<typename T, typename Derived>
std::size_t vsmc::InitializeTBB< T, Derived >::parallel_run ( Particle< T > &  particle,
void *  param,
const ::tbb::blocked_range< typename Particle< T >::size_type > &  range,
const ::tbb::auto_partitioner &  partitioner,
::tbb::task_group_context &  context 
)
inlineprotected

Definition at line 247 of file backend_tbb.hpp.

template<typename T, typename Derived>
std::size_t vsmc::InitializeTBB< T, Derived >::parallel_run ( Particle< T > &  particle,
void *  param,
const ::tbb::blocked_range< typename Particle< T >::size_type > &  range,
const ::tbb::simple_partitioner &  partitioner,
::tbb::task_group_context &  context 
)
inlineprotected

Definition at line 256 of file backend_tbb.hpp.

template<typename T, typename Derived>
std::size_t vsmc::InitializeTBB< T, Derived >::parallel_run ( Particle< T > &  particle,
void *  param,
const ::tbb::blocked_range< typename Particle< T >::size_type > &  range,
::tbb::affinity_partitioner &  partitioner,
::tbb::task_group_context &  context 
)
inlineprotected

Definition at line 265 of file backend_tbb.hpp.