Public Member Functions | Private Attributes | List of all members
gtsam::TbbOpenMPMixedScope Class Reference

#include <types.h>

Public Member Functions

 TbbOpenMPMixedScope ()
 
 ~TbbOpenMPMixedScope ()
 

Private Attributes

int previousOpenMPThreads
 

Detailed Description

An object whose scope defines a block where TBB and OpenMP parallelism are mixed. In such a block, we use default threads for TBB, and p/2 threads for OpenMP. If GTSAM is not compiled to use both TBB and OpenMP, this has no effect.

Definition at line 167 of file types.h.

Constructor & Destructor Documentation

◆ TbbOpenMPMixedScope()

gtsam::TbbOpenMPMixedScope::TbbOpenMPMixedScope ( )
inline

Definition at line 184 of file types.h.

◆ ~TbbOpenMPMixedScope()

gtsam::TbbOpenMPMixedScope::~TbbOpenMPMixedScope ( )
inline

Definition at line 185 of file types.h.

Member Data Documentation

◆ previousOpenMPThreads

int gtsam::TbbOpenMPMixedScope::previousOpenMPThreads
private

Definition at line 169 of file types.h.


The documentation for this class was generated from the following file:


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:47:13