-
Notifications
You must be signed in to change notification settings - Fork 1.6k
non homegenous GEMM_MULTITHREAD_THRESHOLD usage #742
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
As |
@jeromerobert , I think Or, different threshold for different functions? |
The if ( MNK <= (24.0 * 24.0 * (double) (GEMM_MULTITHREAD_THRESHOLD*GEMM_MULTITHREAD_THRESHOLD) ) ) MNK is the number of floating point operation. But we compare to
I'm not sure that's a good idea because that will make |
I think we need something like: if(MNK <= 2304 * GEMM_MULTITHREAD_THRESHOLD) which is equivalent when GEMM_MULTITHREAD_THRESHOLD = 4. |
@wernsaar Could we have your feeling, as you are the author of |
Yes, that's right. On 01/17/2016 07:02 PM, Jerome Robert wrote:
|
In gemv.c
GEMM_MULTITHREAD_THRESHOLD
is squared so it's homogenous to a matrix size. In gemm.c it's not squared so it's homogeneous to a number of floating point operationsSo there is no chance that changing
GEMM_MULTITHREAD_THRESHOLD
inMakefiles.rules
would give good results for both gemm and gemv.Shouldn't
gemv.c
be fixed so that is useGEMM_MULTITHREAD_THRESHOLD
as a number of floating point operations ?A possibly related bug is #216 .
The text was updated successfully, but these errors were encountered: