Tomographer  v2.0
Tomographer C++ Framework Documentation
multiprocomp.h File Reference

(v2.0)

Multiprocessing with OpenMP parallel multithreading. More...

+ Include dependency graph for multiprocomp.h:

Go to the source code of this file.

Classes

class  Tomographer::MultiProc::OMP::ThreadSanitizerLogger< BaseLogger >
 Wrapper logger to call non-thread-safe loggers from a multithreaded environment. More...
 
struct  Tomographer::Logger::LoggerTraits< MultiProc::OMP::ThreadSanitizerLogger< BaseLogger > >
 Specialized Traits for Tomographer::MultiProc::OMP::ThreadSanitizerLogger<typename BaseLogger> – see Tomographer::Logger::LoggerTraits<typename LoggerType> More...
 
class  Tomographer::MultiProc::OMP::TaskDispatcher< TaskType_, TaskCData_, ResultsCollector_, LoggerType_, CountIntType_, TaskLoggerType_ >
 Dispatches tasks to parallel threads using OpenMP. More...
 

Namespaces

 Tomographer
 Base namespace for the Tomographer project.
 
 Tomographer::MultiProc
 Definitions for multi-processing classes and helpers.
 
 Tomographer::MultiProc::OMP
 Definitions for multitasking using OpenMP multithreading.
 
 Tomographer::Logger
 Tomographer's Logging Framework
 

Functions

constexpr int omp_get_thread_num ()
 
constexpr int omp_get_num_threads ()
 
template<typename TaskType_ , typename TaskCData_ , typename ResultsCollector_ , typename LoggerType_ , typename CountIntType_ = int>
TaskDispatcher< TaskType_, TaskCData_, ResultsCollector_, LoggerType_, CountIntType_ > Tomographer::MultiProc::OMP::makeTaskDispatcher (TaskCData_ *pcdata_, ResultsCollector_ *results_, LoggerType_ &logger_, CountIntType_ num_total_runs_, CountIntType_ n_chunk_)
 Create an OMP task dispatcher. Useful if you want C++'s template argument deduction mechanism.
 

Detailed Description

Multiprocessing with OpenMP parallel multithreading.

See Tomographer::MultiProc::OMP.

Definition in file multiprocomp.h.