Skip to content
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

Tuning suite #1814

Open
albinahlback opened this issue Mar 5, 2024 · 1 comment
Open

Tuning suite #1814

albinahlback opened this issue Mar 5, 2024 · 1 comment

Comments

@albinahlback
Copy link
Collaborator

albinahlback commented Mar 5, 2024

We would really need a tuning suite we can use for different processors.

I mainly think of multiplication stuff, but other parameters are also important, of course.

My thinking is that such a program runs different functions, and checks where the thresholds are. When I say checks I am mainly thinking of applying some approximated time function on the form
$$t(n) = p_k(n) + \ell(n) + w(n)$$
where $p_k$ is a univariate polynomial of degree $k$, $\ell$ is a polynomial-ish function with coefficients on the form $\lambda_1 \log n + \lambda_2 \log \log n + \cdots$ and $w$ may be some special function. The allowed form of this time function should be different for different algorithms (for instance, schoolbook multiplication should not have some logarithmic factor).

One should be able to just run the program, and it will spit out all the thresholds.

@albinahlback albinahlback pinned this issue Mar 5, 2024
@fredrik-johansson
Copy link
Collaborator

Note: in src/gr_poly/tune/cutoffs.c is something somewhat generic for tuning univariate cutoffs for various polynomial functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants