Skip to content

A problem about relation between "openblas_set_num_threads" and CPU waste and time cost? #1544

Closed
@sunbinbin1991

Description

@sunbinbin1991

First, I will introduce ,my background. I have to accelerate a matrix calculation. My hardware is RK3288 which have four Quad-Core Cortex-A17 cpu. When I use it by default,
it is waste much more time to calculate, and waste much CPU,as below,

cpu cost:

however, when I set the openblas_num_threads,like this:
openblas_set_num_threads(1);
I found, it waste not much time and CPU waste is much lower,as below,

cpu cost:

clearly, waste time and cpu waste both reduced. So, what happen for this problem?

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