VTK  9.2.20230320
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 468 of file vtkSMPTools.h.

Constructor & Destructor Documentation

◆ Config() [1/5]

vtkSMPTools::Config::Config ( )

◆ Config() [2/5]

vtkSMPTools::Config::Config ( int  maxNumberOfThreads)

Definition at line 475 of file vtkSMPTools.h.

◆ Config() [3/5]

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

Definition at line 479 of file vtkSMPTools.h.

◆ Config() [4/5]

vtkSMPTools::Config::Config ( bool  nestedParallelism)

Definition at line 483 of file vtkSMPTools.h.

◆ Config() [5/5]

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

Definition at line 487 of file vtkSMPTools.h.

Member Data Documentation

◆ MaxNumberOfThreads

int vtkSMPTools::Config::MaxNumberOfThreads = 0

Definition at line 470 of file vtkSMPTools.h.

◆ Backend

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

Definition at line 471 of file vtkSMPTools.h.

◆ NestedParallelism

bool vtkSMPTools::Config::NestedParallelism = false

Definition at line 472 of file vtkSMPTools.h.

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