filecoin-project / blstrs

Other
58 stars 37 forks source link

feat: implement ec-gpu 0.2.0 traits #43

Closed vmx closed 2 years ago

vmx commented 2 years ago

With implementing the ec-gpu traits, the types can be used with algorithms that run on the GPU.

BREAKING CHANGE: the traits in ec-gpu 0.2.0 changed

There is no GpuEngine trait anymore and the GpuName trait was introduced.

codecov-commenter commented 2 years ago

Codecov Report

Merging #43 (c51948e) into master (cbfaee7) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #43   +/-   ##
=======================================
  Coverage   88.92%   88.92%           
=======================================
  Files          14       14           
  Lines        6727     6727           
=======================================
  Hits         5982     5982           
  Misses        745      745           
Impacted Files Coverage Δ
src/fp.rs 95.73% <ø> (ø)
src/fp2.rs 94.54% <ø> (ø)
src/g1.rs 83.52% <ø> (ø)
src/g2.rs 83.54% <ø> (ø)
src/lib.rs 96.42% <ø> (ø)
src/scalar.rs 95.22% <ø> (ø)