TTK
Loading...
Searching...
No Matches
Classes | Namespaces | Macros
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
 The Topology ToolKit.
 

Macros

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

Macro Definition Documentation

◆ TTK_PSORT

#define TTK_PSORT (   NTHREADS,
  ... 
)    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.