Skip to content

Create CPU/OMP analog of setQuESTNumGpuThreadsPerBlock #768

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions