-
Notifications
You must be signed in to change notification settings - Fork 1.6k
how can i use all power of my cpus? #948
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
when i use gdb to debug my program, i receive this: how can i solve this problem |
I would not dare to meddle with internal constants like that, in particular ones that only have one particular value whereever they are defined at all. :-) |
my machine have 12 cpus, when i use the two matrixs A and B for the function cblas_sgemm(), i found it will call the function GEMM_LOCAL(args, range_m, range_n, sa, sb, 0) which in the driver/level3/level3_thread.c. I found if i modified SWITCH_RATIO which in the param.h from 4 to 0, it will call the function gemm_driver(args, range_m, range_n, sa, sb, 0) which in the dirver/level3/level3_thread.c too.
The question is: when i run the code which use openblas the cpu utilization have improve, but it will failed final. shouldn't i modified the SWITCH_RATIO from 4 to zero? If not, how can i improve the utilization of my cpu except use USE_SIMPLE_THREADED_LEVEL3 = 1.
The text was updated successfully, but these errors were encountered: