aligator  0.9.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
Loading...
Searching...
No Matches
aligator::omp Namespace Reference

Utilities to set parallelism options. More...

Functions

std::size_t get_available_threads ()
 
std::size_t get_current_threads ()
 Get the current number of threads.
 
std::size_t get_thread_id ()
 Get the current thread ID.
 
void set_default_options (std::size_t, bool=true)
 

Detailed Description

Utilities to set parallelism options.

Function Documentation

◆ get_available_threads()

std::size_t aligator::omp::get_available_threads ( )
inline

Definition at line 30 of file threads.hpp.

◆ get_current_threads()

std::size_t aligator::omp::get_current_threads ( )
inline

Get the current number of threads.

Definition at line 33 of file threads.hpp.

◆ get_thread_id()

std::size_t aligator::omp::get_thread_id ( )
inline

Get the current thread ID.

Definition at line 36 of file threads.hpp.

◆ set_default_options()

void aligator::omp::set_default_options ( std::size_t ,
bool = true )
inline

Definition at line 38 of file threads.hpp.