VTK  9.4.20241124
Public Member Functions | Public Attributes | List of all members
vtkSMPTools::Config Struct Reference

Structure used to specify configuration for LocalScope() method. More...

#include <vtkSMPTools.h>

Public Member Functions

 Config ()=default
 
 Config (int maxNumberOfThreads)
 
 Config (std::string backend)
 
 Config (bool nestedParallelism)
 
 Config (int maxNumberOfThreads, std::string backend, bool nestedParallelism)
 

Public Attributes

int MaxNumberOfThreads = 0
 
std::string Backend = vtk::detail::smp::vtkSMPToolsAPI::GetInstance().GetBackend()
 
bool NestedParallelism = false
 

Detailed Description

Structure used to specify configuration for LocalScope() method.

Several parameters can be configured:

Definition at line 464 of file vtkSMPTools.h.

Constructor & Destructor Documentation

◆ Config() [1/5]

vtkSMPTools::Config::Config ( )
default

◆ Config() [2/5]

vtkSMPTools::Config::Config ( int  maxNumberOfThreads)
inline

Definition at line 471 of file vtkSMPTools.h.

◆ Config() [3/5]

vtkSMPTools::Config::Config ( std::string  backend)
inline

Definition at line 475 of file vtkSMPTools.h.

◆ Config() [4/5]

vtkSMPTools::Config::Config ( bool  nestedParallelism)
inline

Definition at line 479 of file vtkSMPTools.h.

◆ Config() [5/5]

vtkSMPTools::Config::Config ( int  maxNumberOfThreads,
std::string  backend,
bool  nestedParallelism 
)
inline

Definition at line 483 of file vtkSMPTools.h.

Member Data Documentation

◆ MaxNumberOfThreads

int vtkSMPTools::Config::MaxNumberOfThreads = 0

Definition at line 466 of file vtkSMPTools.h.

◆ Backend

std::string vtkSMPTools::Config::Backend = vtk::detail::smp::vtkSMPToolsAPI::GetInstance().GetBackend()

Definition at line 467 of file vtkSMPTools.h.

◆ NestedParallelism

bool vtkSMPTools::Config::NestedParallelism = false

Definition at line 468 of file vtkSMPTools.h.


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