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

Feat/roman/dcct #572

Open
wants to merge 31 commits into
base: V2
Choose a base branch
from
Open

Feat/roman/dcct #572

wants to merge 31 commits into from

Conversation

ChickenLover
Copy link
Contributor

Describe the changes

This PR...

Linked Issues

Resolves #

@ChickenLover ChickenLover marked this pull request as ready for review September 26, 2024 09:43

const c_extension_t ROU = {{2}, {1268011823}};

// namespace quad_extension_config {
Copy link
Collaborator

Choose a reason for hiding this comment

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

remove

@@ -6,7 +6,10 @@
#include "ntt/ntt.cuh" // for enum Ordering

namespace mxntt {

#ifdef DCCT
template <typename S, typename R>
Copy link
Collaborator

Choose a reason for hiding this comment

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

is R an extension field? why R?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It means Root type

Copy link
Collaborator

@yshekel yshekel left a comment

Choose a reason for hiding this comment

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

Overall looks good to me but I have a few comments:
(1) I don't see that you define DCCT in cmake (and cargo) for m31 and build dcct
(2) Probably NTT tests will fail so we need some correctness test in CI.
(3) It would be better in terms of maintainability if you split dcct code from ntt sources. Assuming it doesn't required you to refactor too much.

Copy link
Contributor

@vhnatyk vhnatyk left a comment

Choose a reason for hiding this comment

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

what's in pr lgtm - except rust bindings and tests, but we can add these as well as other todos. @yshekel request is 100% legit, and a bit raw feel overall - let's merge it as we agreed on a daily and I need it asap)

@vhnatyk vhnatyk self-requested a review November 26, 2024 19:02
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