Tomographer  v1.0a
Tomographer C++ Framework Documentation
Tomographer::MultiProc::OMP Namespace Reference

Definitions for multitasking using OpenMP multithreading. More...

Classes

struct  FullStatusReport
 A complete status report of currently running threads. More...
 
class  TaskDispatcher
 Dispatches tasks to parallel threads using OpenMP. More...
 
class  ThreadSanitizerLogger
 Wrapper logger to call non-thread-safe loggers from a multithreaded environment. More...
 

Functions

template<typename Task_ , typename ConstantDataType_ , typename ResultsCollector_ , typename Logger_ , typename CountIntType_ = unsigned int>
TaskDispatcher< Task_, ConstantDataType_, ResultsCollector_, Logger_, CountIntType_ > makeTaskDispatcher (ConstantDataType_ *pcdata_, ResultsCollector_ *results_, Logger_ &logger_, CountIntType_ num_total_runs_, CountIntType_ n_chunk_)
 Create an OMP task dispatcher. Useful if you want C++'s template parameter deduction mechanism. More...
 

Detailed Description

Definitions for multitasking using OpenMP multithreading.

Function Documentation

template<typename Task_ , typename ConstantDataType_ , typename ResultsCollector_ , typename Logger_ , typename CountIntType_ = unsigned int>
TaskDispatcher<Task_, ConstantDataType_, ResultsCollector_, Logger_, CountIntType_> Tomographer::MultiProc::OMP::makeTaskDispatcher ( ConstantDataType_ *  pcdata_,
ResultsCollector_ *  results_,
Logger_ &  logger_,
CountIntType_  num_total_runs_,
CountIntType_  n_chunk_ 
)
inline

Create an OMP task dispatcher. Useful if you want C++'s template parameter deduction mechanism.

Definition at line 635 of file multiprocomp.h.