OpenBLAS icon indicating copy to clipboard operation
OpenBLAS copied to clipboard

Scale P and Q with L2 cache size for SVE

Open Mousius opened this issue 1 year ago • 3 comments

The defaults in param.h now reflect an L2 size of 128KB, and that is scaled based on the actual size.

Mousius avatar Dec 27 '23 18:12 Mousius

@martin-frbg , this is closer to what I was thinking previously, what do you think? I can see others have done similar in setparam-ref.c but I'm assuming that doesn't work when building for a specific core outside of DYNAMIC_ARCH?

Mousius avatar Dec 27 '23 18:12 Mousius

yes, for a specific cpu TARGET build I think the factor would have to be applied in common_param.h but I have limited brain capacity for that right now

martin-frbg avatar Dec 27 '23 19:12 martin-frbg

Thanks @martin-frbg, I'll look into it 😸 !

Mousius avatar Dec 29 '23 18:12 Mousius