-
Notifications
You must be signed in to change notification settings - Fork 93
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
ifft_lower #379
ifft_lower #379
Conversation
886b664
to
60f30ac
Compare
ce789e0
to
3418d99
Compare
60f30ac
to
e942d75
Compare
3418d99
to
0a4a8e1
Compare
e942d75
to
b5b378e
Compare
0a4a8e1
to
70d7f2d
Compare
ca4bb5c
to
e031117
Compare
06dd0af
to
54fd21a
Compare
e031117
to
57cfc06
Compare
54fd21a
to
7ea6c55
Compare
do you need a match at every layer? why not Code quote: for layer in (VECWISE_FFT_BITS..fft_layers).step_by(3) {
match fft_layers - layer { |
Suggestion: Runs the first 5 ifft layers across the entire array. |
don't you have some alignement requirements for the twiddle factors? Code quote: twiddle_dbl - The doubles of the twiddle factors for each of the 5 ifft layers |
Make this consistent with Suggestion: let index = (index_h << loop_bits) + index_l; |
? Code quote: twiddle_m_e_dbldb |
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.
Reviewed 1 of 4 files at r1, all commit messages.
Reviewable status: 1 of 4 files reviewed, 5 unresolved discussions (waiting on @spapinistarkware)
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.
Reviewable status: 1 of 4 files reviewed, 5 unresolved discussions (waiting on @ilyalesokhin-starkware)
src/core/backend/avx512/fft.rs
line 112 at r1 (raw file):
Previously, ilyalesokhin-starkware wrote…
don't you have some alignement requirements for the twiddle factors?
No. Perhaps this code could be a bit more efficient with the first and second twiddle layers, but I load them as values, withouth the efficient pointer loading (i.e. let rust deal with it).
Most fo the times I just ened to load a single M31, and broadcast it.
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.
Reviewed 2 of 4 files at r1.
Reviewable status: 3 of 4 files reviewed, 5 unresolved discussions
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.
Reviewable status: 3 of 4 files reviewed, 4 unresolved discussions (waiting on @ilyalesokhin-starkware)
src/core/backend/avx512/fft.rs
line 88 at r1 (raw file):
Previously, ilyalesokhin-starkware wrote…
do you need a match at every layer?
why not
while fft_layers - layer > 3 {
..
}
match fft_layers - layer
Why is this better?
src/core/backend/avx512/fft.rs
line 109 at r1 (raw file):
} /// Runs the 5 first ifft layers across the entire array.
Done.
src/core/backend/avx512/fft.rs
line 161 at r1 (raw file):
Previously, ilyalesokhin-starkware wrote…
Make this consistent with
ifft_vecwise_loop
Done.
src/core/backend/avx512/fft.rs
line 248 at r1 (raw file):
Previously, ilyalesokhin-starkware wrote…
?
Done.
57cfc06
to
90a4940
Compare
7ea6c55
to
887603e
Compare
Previously, spapinistarkware (Shahar Papini) wrote…
it makes it clear that match happens only at the last layer both for the reader and the compiler |
d7b75c1
to
9afa4c2
Compare
887603e
to
50b6cbb
Compare
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.
Reviewable status: 3 of 4 files reviewed, 1 unresolved discussion (waiting on @ilyalesokhin-starkware)
src/core/backend/avx512/fft.rs
line 88 at r1 (raw file):
Previously, ilyalesokhin-starkware wrote…
it makes it clear that match happens only at the last layer both for the reader and the compiler
Done.
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.
Reviewed 3 of 3 files at r3, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @spapinistarkware)
Merge activity
|
<!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/starkware-libs/stwo/379) <!-- Reviewable:end -->
9afa4c2
to
0bd6f97
Compare
50b6cbb
to
fc239c1
Compare
This change is