DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
DNDS::OMP Namespace Reference

Functions

void set_full_parallel_OMP ()
 Configure OpenMP and Eigen threading for the "distributed OMP" pattern.
 

Function Documentation

◆ set_full_parallel_OMP()

void DNDS::OMP::set_full_parallel_OMP ( )
inline

Configure OpenMP and Eigen threading for the "distributed OMP" pattern.

Sets the OpenMP thread count from the DNDS_DIST_OMP_NUM_THREADS environment variable (falling back to 1) and disables Eigen's internal parallelism so it does not oversubscribe the MPI+OpenMP layout.

Intended to be called once near main() when DNDS_USE_OMP is on.

Definition at line 19 of file OMP.hpp.

Here is the call graph for this function:
Here is the caller graph for this function: