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: implement GPU FFT & Multiexp #4

Merged
merged 12 commits into from
Sep 19, 2019

Conversation

keyvank
Copy link

@keyvank keyvank commented Sep 4, 2019

This PR from @finalitylabs adds GPU accelerated versions of the Fast-Fourier-Transform and Multi-Exponentiation (For Bls12-381 engine) algorithms to the great Bellman library :) The ocl feature is turned on by default and can be disabled.
Let us know if any changes are needed before merging. @dignifiedquire

@nginnever, @keyvank

Copy link

@dignifiedquire dignifiedquire left a comment

Choose a reason for hiding this comment

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

can you please add comments to all gpu code that at least describe the high level algorithms and any reference materials used

Cargo.toml Outdated Show resolved Hide resolved
src/domain.rs Show resolved Hide resolved
src/domain.rs Show resolved Hide resolved
@keyvank
Copy link
Author

keyvank commented Sep 10, 2019

@dignifiedquire Made some changes. Can you review again?

Copy link

@dignifiedquire dignifiedquire left a comment

Choose a reason for hiding this comment

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

Looking good, left one more comment.

Note: as we use a nightly toolchain for our building, we are somewhat blocked on cogciprocate/ocl#163 to enable the gpu feature by default, but that will hopefully be solved soon.

@dignifiedquire dignifiedquire changed the title Init GPU FFT & Multiexp feat: implement GPU FFT & Multiexp Sep 19, 2019
@dignifiedquire dignifiedquire merged commit 2c5e93b into filecoin-project:master Sep 19, 2019
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.

2 participants