TTK
Loading...
Searching...
No Matches
OpenMP.h File Reference

Go to the source code of this file.

Classes

class  ttk::Lock
 RAII wrapper around OpenMP lock. More...
 

Namespaces

namespace  ttk
 TTK base package defining the standard types.
 

Macros

#define TTK_PSORT(NTHREADS, ...)
 Parallel sort macro.
 

Macro Definition Documentation

◆ TTK_PSORT

#define TTK_PSORT ( NTHREADS,
... )
Value:
std::sort(__VA_ARGS__);

Parallel sort macro.

Example use: TTK_PSORT(nthreads, container.begin(), container.end()) or TTK_PSORT(nthreads, container.begin(), container.end(), cmp).

Definition at line 46 of file OpenMP.h.