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

ColumnOps #459

Merged
merged 1 commit into from
Mar 14, 2024
Merged

ColumnOps #459

merged 1 commit into from
Mar 14, 2024

Conversation

spapinistarkware
Copy link
Contributor

@spapinistarkware spapinistarkware commented Mar 12, 2024

This change is Reviewable

Copy link

graphite-app bot commented Mar 12, 2024

Your org has enabled the Graphite merge queue for merging into dev

Add the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

@spapinistarkware spapinistarkware force-pushed the spapini/03-07-Use_precomputed_twiddles_in_avx branch from 919aedf to 87f6b9f Compare March 12, 2024 13:30
@spapinistarkware spapinistarkware force-pushed the spapini/03-12-ColumnOps branch from 7ee60e5 to ef4fa7b Compare March 12, 2024 13:30
Copy link
Collaborator

@shaharsamocha7 shaharsamocha7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 9 of 12 files at r1, 3 of 3 files at r2, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @spapinistarkware)


src/core/backend/mod.rs line 18 at r2 (raw file):

}

pub trait ColumnOps<T> {

We are defining columns only for felts, right?

Suggestion:

F: Field

src/core/backend/avx512/mod.rs line 63 at r2 (raw file):

}

impl FieldOps<BaseField> for AVX512Backend {

Consider moving this to the avx field file.

Code quote:

impl FieldOps<BaseField> for AVX512Backend {

@spapinistarkware spapinistarkware force-pushed the spapini/03-07-Use_precomputed_twiddles_in_avx branch from 87f6b9f to 686f51a Compare March 12, 2024 13:58
@spapinistarkware spapinistarkware force-pushed the spapini/03-12-ColumnOps branch from ef4fa7b to 2029486 Compare March 12, 2024 13:58
Copy link
Contributor Author

@spapinistarkware spapinistarkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 10 of 15 files reviewed, 2 unresolved discussions (waiting on @shaharsamocha7)


src/core/backend/mod.rs line 18 at r2 (raw file):

Previously, shaharsamocha7 wrote…

We are defining columns only for felts, right?

If it's only for felts, that it would be more sensible to add this in FieldOps.
I think there's also value in other columns. For Hashes, and twiddle factors (which are not reduced, and hence, not BaseField)


src/core/backend/avx512/mod.rs line 63 at r2 (raw file):

Previously, shaharsamocha7 wrote…

Consider moving this to the avx field file.

Noted.
don't think there enough to put there just yet.

@codecov-commenter
Copy link

codecov-commenter commented Mar 12, 2024

Codecov Report

Attention: Patch coverage is 57.14286% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 95.56%. Comparing base (882e7f6) to head (a265fbb).

Files Patch % Lines
src/core/backend/mod.rs 0.00% 3 Missing ⚠️
Additional details and impacted files
@@                              Coverage Diff                               @@
##           spapini/03-07-Use_precomputed_twiddles_in_avx     #459   +/-   ##
==============================================================================
  Coverage                                          95.56%   95.56%           
==============================================================================
  Files                                                 56       57    +1     
  Lines                                               8870     8870           
  Branches                                            8870     8870           
==============================================================================
  Hits                                                8477     8477           
  Misses                                               345      345           
  Partials                                              48       48           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@spapinistarkware spapinistarkware force-pushed the spapini/03-07-Use_precomputed_twiddles_in_avx branch from 14ccf9d to 0857a54 Compare March 12, 2024 14:14
@spapinistarkware spapinistarkware force-pushed the spapini/03-12-ColumnOps branch from 62f5464 to ecb2f1f Compare March 12, 2024 14:14
Copy link
Collaborator

@shaharsamocha7 shaharsamocha7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 4 of 5 files at r3, 2 of 2 files at r4, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @spapinistarkware)


src/core/backend/mod.rs line 18 at r2 (raw file):

Previously, spapinistarkware (Shahar Papini) wrote…

If it's only for felts, that it would be more sensible to add this in FieldOps.
I think there's also value in other columns. For Hashes, and twiddle factors (which are not reduced, and hence, not BaseField)

Now I see why they are not BaseField...

@spapinistarkware spapinistarkware force-pushed the spapini/03-07-Use_precomputed_twiddles_in_avx branch from 0857a54 to 6accca8 Compare March 12, 2024 15:11
@spapinistarkware spapinistarkware force-pushed the spapini/03-12-ColumnOps branch from ecb2f1f to 7d28e90 Compare March 12, 2024 15:11
@spapinistarkware spapinistarkware force-pushed the spapini/03-07-Use_precomputed_twiddles_in_avx branch from 6accca8 to db9ada9 Compare March 12, 2024 16:18
@spapinistarkware spapinistarkware force-pushed the spapini/03-12-ColumnOps branch from 7d28e90 to 94c9764 Compare March 12, 2024 16:18
@spapinistarkware spapinistarkware force-pushed the spapini/03-07-Use_precomputed_twiddles_in_avx branch from db9ada9 to 35466f9 Compare March 13, 2024 07:53
@spapinistarkware spapinistarkware force-pushed the spapini/03-12-ColumnOps branch from 94c9764 to a5d12a1 Compare March 13, 2024 07:53
@spapinistarkware spapinistarkware force-pushed the spapini/03-07-Use_precomputed_twiddles_in_avx branch from 35466f9 to 7b2d0e0 Compare March 13, 2024 07:58
@spapinistarkware spapinistarkware force-pushed the spapini/03-12-ColumnOps branch from a5d12a1 to ff17df0 Compare March 13, 2024 07:58
@spapinistarkware spapinistarkware force-pushed the spapini/03-07-Use_precomputed_twiddles_in_avx branch from 7b2d0e0 to b710ea6 Compare March 13, 2024 07:59
@spapinistarkware spapinistarkware force-pushed the spapini/03-12-ColumnOps branch from ff17df0 to 47457bc Compare March 13, 2024 07:59
@spapinistarkware spapinistarkware force-pushed the spapini/03-07-Use_precomputed_twiddles_in_avx branch from b710ea6 to 917bf93 Compare March 13, 2024 09:44
@spapinistarkware spapinistarkware force-pushed the spapini/03-12-ColumnOps branch from 47457bc to 8dc0d9a Compare March 13, 2024 09:44
Copy link
Collaborator

@shaharsamocha7 shaharsamocha7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 4 of 4 files at r5, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @spapinistarkware)

@spapinistarkware spapinistarkware force-pushed the spapini/03-07-Use_precomputed_twiddles_in_avx branch from 917bf93 to cb666dd Compare March 14, 2024 11:57
@spapinistarkware spapinistarkware force-pushed the spapini/03-12-ColumnOps branch from 8dc0d9a to 47b337c Compare March 14, 2024 11:57
@spapinistarkware spapinistarkware force-pushed the spapini/03-07-Use_precomputed_twiddles_in_avx branch from cb666dd to 7cf3a4c Compare March 14, 2024 11:57
@spapinistarkware spapinistarkware force-pushed the spapini/03-12-ColumnOps branch from 47b337c to 874d486 Compare March 14, 2024 11:57
@spapinistarkware spapinistarkware force-pushed the spapini/03-07-Use_precomputed_twiddles_in_avx branch from 7cf3a4c to 3664014 Compare March 14, 2024 15:05
@spapinistarkware spapinistarkware force-pushed the spapini/03-12-ColumnOps branch from 874d486 to 53ef116 Compare March 14, 2024 15:05
Copy link

graphite-app bot commented Mar 14, 2024

Merge activity

Copy link
Collaborator

@shaharsamocha7 shaharsamocha7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 5 of 5 files at r6, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @spapinistarkware)

<!-- 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/459)
<!-- Reviewable:end -->
@spapinistarkware spapinistarkware force-pushed the spapini/03-07-Use_precomputed_twiddles_in_avx branch from 3664014 to 882e7f6 Compare March 14, 2024 15:17
@spapinistarkware spapinistarkware force-pushed the spapini/03-12-ColumnOps branch from 53ef116 to a265fbb Compare March 14, 2024 15:18
@spapinistarkware spapinistarkware changed the base branch from spapini/03-07-Use_precomputed_twiddles_in_avx to dev March 14, 2024 15:22
@graphite-app graphite-app bot merged commit a265fbb into dev Mar 14, 2024
8 of 9 checks passed
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

Successfully merging this pull request may close these issues.

3 participants