Create env-varQUEST_DEFAULT_NUM_CPU_THREADS
This allows users to control specifically QuEST's parallelisation, without affecting other softwares in the user stack. It also parallels QUEST_DEFAULT_NUM_GPU_THREADS_PER_BLOCK (after refactoring the current cmake/compile-time var to an env-var)
CreatesetQuESTNumCpuThreads().
This allows users to runtime override of the number of threads (useful for sweeps/profiling) without needing to link user code to OpenMP. This is relatively unimportant - a competent user performing tuning should be able to interface with OMP directly - but should be included for symmetry with the existing functions (default env-vars with runtime overridable functions)
Create env-var
QUEST_DEFAULT_NUM_CPU_THREADSThis allows users to control specifically QuEST's parallelisation, without affecting other softwares in the user stack. It also parallels
QUEST_DEFAULT_NUM_GPU_THREADS_PER_BLOCK(after refactoring the current cmake/compile-time var to an env-var)Create
setQuESTNumCpuThreads().This allows users to runtime override of the number of threads (useful for sweeps/profiling) without needing to link user code to OpenMP. This is relatively unimportant - a competent user performing tuning should be able to interface with OMP directly - but should be included for symmetry with the existing functions (default env-vars with runtime overridable functions)