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 162 of file types.h.

Constructor & Destructor Documentation

◆ TbbOpenMPMixedScope()

gtsam::TbbOpenMPMixedScope::TbbOpenMPMixedScope ( )
inline

Definition at line 179 of file types.h.

◆ ~TbbOpenMPMixedScope()

gtsam::TbbOpenMPMixedScope::~TbbOpenMPMixedScope ( )
inline

Definition at line 180 of file types.h.

Member Data Documentation

◆ previousOpenMPThreads

int gtsam::TbbOpenMPMixedScope::previousOpenMPThreads
private

Definition at line 164 of file types.h.


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


gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:24:47