Skip to content

Create CPU/OMP analog of setQuESTNumGpuThreadsPerBlock #768

@TysonRayJones

Description

@TysonRayJones

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)

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions