VTK  9.1.0
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 ()
 
 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 = true
 

Detailed Description

Structure used to specify configuration for LocalScope() method.

Several parameters can be configured:

Definition at line 455 of file vtkSMPTools.h.

Constructor & Destructor Documentation

◆ Config() [1/5]

vtkSMPTools::Config::Config ( )
inline

Definition at line 461 of file vtkSMPTools.h.

◆ Config() [2/5]

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

Definition at line 462 of file vtkSMPTools.h.

◆ Config() [3/5]

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

Definition at line 466 of file vtkSMPTools.h.

◆ Config() [4/5]

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

Definition at line 470 of file vtkSMPTools.h.

◆ Config() [5/5]

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

Definition at line 474 of file vtkSMPTools.h.

Member Data Documentation

◆ MaxNumberOfThreads

int vtkSMPTools::Config::MaxNumberOfThreads = 0

Definition at line 457 of file vtkSMPTools.h.

◆ Backend

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

Definition at line 458 of file vtkSMPTools.h.

◆ NestedParallelism

bool vtkSMPTools::Config::NestedParallelism = true

Definition at line 459 of file vtkSMPTools.h.


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