Static Public Member Functions | Public Attributes | Private Member Functions | List of all members
PLMD::OpenMP::OpenMPVars Struct Reference

singleton struct to treat the openMP setting as a global variables, but with a layer of encapsulation More...

Static Public Member Functions

static OpenMPVarsget ()
 

Public Attributes

bool cache_set =false
 
unsigned cacheline_size =512
 
bool nt_env_set =false
 
unsigned num_threads =1
 

Private Member Functions

 OpenMPVars ()=default
 
 OpenMPVars (OpenMPVars &)=delete
 
OpenMPVarsoperator= (OpenMPVars &&)=delete
 

Detailed Description

singleton struct to treat the openMP setting as a global variables, but with a layer of encapsulation

Constructor & Destructor Documentation

◆ OpenMPVars() [1/2]

PLMD::OpenMP::OpenMPVars::OpenMPVars ( )
privatedefault

◆ OpenMPVars() [2/2]

PLMD::OpenMP::OpenMPVars::OpenMPVars ( OpenMPVars )
privatedelete

Member Function Documentation

◆ get()

static OpenMPVars& PLMD::OpenMP::OpenMPVars::get ( )
inlinestatic

◆ operator=()

OpenMPVars& PLMD::OpenMP::OpenMPVars::operator= ( OpenMPVars &&  )
privatedelete

Member Data Documentation

◆ cache_set

bool PLMD::OpenMP::OpenMPVars::cache_set =false

◆ cacheline_size

unsigned PLMD::OpenMP::OpenMPVars::cacheline_size =512

◆ nt_env_set

bool PLMD::OpenMP::OpenMPVars::nt_env_set =false

◆ num_threads

unsigned PLMD::OpenMP::OpenMPVars::num_threads =1

The documentation for this struct was generated from the following file: