-
Notifications
You must be signed in to change notification settings - Fork 253
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
Configure and flint-mparam for meteorlake #2239
Conversation
This made me realise that recent Intel processors (RaptorLake, AlderLake, ... probably all those more recent than IceLake) will not benefit from the enhancement in #2233 , since they still rely on SkyLake's |
/* TODO these were taken directly from skylake flint-mparam.h ----> */ | ||
#define FLINT_FFT_SMALL_MUL_THRESHOLD 1540 | ||
#define FLINT_FFT_SMALL_SQR_THRESHOLD 3080 | ||
|
||
#define FLINT_FFT_MUL_THRESHOLD 32000 | ||
#define FLINT_FFT_SQR_THRESHOLD 32000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These would be nice to figure out, but I suppose they are conservative at best. Regardless, we need a proper tuning suite as it is quite tedious to do these by hand.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I was not sure how to find them easily (i.e. without looking through the code to find out what they mean, then create some profile/tune file, etc.). Most others were output by a tuning file (FFT_TAB
, MULMOD_TAB
, etc.).
The latest commits added a |
@albinahlback a quick re-check of the recent commits could be useful before merging. |
I think it looks good! |
Sorry, I was about to squash and merge the commits. I only discussed this with Fredrik, so it is my fault for not bringing this forward to everyone: Every PR should now be squashed when merging. This allows us to:
Now, I took examples from here for convenience, but please do not feel targeted. |
What Albin said, to make the history easier to follow, though I would relax this:
Not every PR necessarily; some PRs do several related things, and it's fine to keep the individual commits in some cases if they make sense independently. |
Oops, ok. I had seen a comment of this kind in some recent PR or issue, but maybe did not pay close enough attention to it, sorry. Thanks for explaining the recommended procedure in detail! |
This allows Intel's meteorlake CPUs to be identified during configure. This adds corresponding parameters in
meteorlake/flint-mparam.h
.