Skip to content

combined threading #3913

Closed
Closed
@jcrbloch

Description

@jcrbloch

I have a program where one part of the program has an omp parallel for loop which calls open blas routines. Here the openblas routines should be called in single threading. Other serial parts of my program also call openblas routines, which should then be called in parallel. How can I change the number of threads allocated to openblas dynamically in my code? I guess that I could use openblas_set_num_threads(), however these commands are not available if someone decides to use some other version of blas. Is there any other way to set the openblas threads dynamically?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions