You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the provided example script to compute the same MSM multiple times (with the same size, scalars, and points) on BN256, the results for G1 vary and sometimes yield points that are not on the curve.
Description
When using the provided example script to compute the same MSM multiple times (with the same size, scalars, and points) on BN256, the results for G1 vary and sometimes yield points that are not on the curve.
Reproduce
Change
icicle/examples/rust/msm/src/main.rs
Lines 55 to 56 in 6134cfe
Expected Behavior
The 10 MSMs over G1 and G2, respectively, return consistent values.
Observed Behavior
The 10 MSMs over G1 return different values, sometimes points not on the curve.
The 10 MSMs over G2 return consistent values.
Environment
OS + Version: Ubuntu 22.04.1
Cargo Version: 1.77.2
GPU type: NVIDIA A10G
Additional context
g2_stream
, but only doing so does not solve the issue;is_async
tofalse
solves the issue.stream.synchronize()
icicle/examples/rust/msm/src/main.rs
Lines 132 to 134 in 6134cfe
log_size = 16
results seem to be consistent, even if none of the above fixes is implemented;bls12377
.The text was updated successfully, but these errors were encountered: