diplib/multithreading.h file

Declares functions to control multithreading within DIPlib, and imports the OpenMP header. See The library infrastructure.

Contents

Functions

void dip::SetNumberOfThreads(dip::uint nThreads)
Sets the maximum number of threads to be using in computations.
auto dip::GetNumberOfThreads() -> dip::uint
Gets the maximum number of threads that can be used in computations.