Closed vmx closed 1 year ago
I got a fix via side-channel. You need to include pipenger.cu
instead of pipenger_inf.cu
if you want to use it with blst
based types.
diff --git a/poc/blst-cuda/build.rs b/poc/blst-cuda/build.rs
index a44513b..367552b 100644
--- a/poc/blst-cuda/build.rs
+++ b/poc/blst-cuda/build.rs
@@ -115,7 +115,7 @@ fn main() {
if let Some(include) = env::var_os("DEP_SPPARK_ROOT") {
nvcc.include(include);
}
- nvcc.file("cuda/pippenger_inf.cu").compile("blst_cuda_msm");
+ nvcc.file("cuda/pippenger.cu").compile("blst_cuda_msm");
println!("cargo:rustc-cfg=feature=\"cuda\"");
println!("cargo:rerun-if-changed=cuda");
when trying to use
blst-msm
as a dependency.
PoCs are not meant to be used as dependency, but as an example of how to use sppark as dependency.
as an example of how to use sppark as dependency
Agreed. But I'd expect it to to be a working example, so that one can then use it as a template for your own stuff. When it's not a PoC for working blst
, then I think that part should be removed.
But I'd expect it to to be a working example,
And it's working. You do cd poc/blst-cuda && cargo test --features=bls12_381
and it works :-) No further promises are made.
Just in case, I do recognize your problem, which is effectively rooted in poor messaging from our side. At this point I reckon that it would be more efficient if we use more interactive means of communications to move forward. More interactive than github issues that is :-)
The POC isn't meant to be used with blstrs types (although the code is there), hence I'm closing this issue.
I get an error like
when trying to use
blst-msm
as a dependency. Steps to reproduce (you can copy&paste that into your terminal and execute it directly):I'm on Debian.