File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
# mopro msm gpu-acceleration
2
2
3
- We are researching the methods and implement the methods that can accelerate multi-scalar multiplication (MSM) on IOS mobile device.
3
+ We are researching and implementing methods to accelerate multi-scalar multiplication (MSM) on IOS mobile device.
4
4
5
5
## mopro-msm
6
6
7
- This is the crate that possess various of implementation of MSM functions, which are integrated in ` mopro-core ` .
7
+ This is a of various implementations of MSM functions, which are then integrated in ` mopro-core ` .
8
8
9
9
### Run benchmark on the laptop
10
- Currently we support these MSM algorithms on BN254
10
+ Currently we support these MSM algorithms on BN254:
11
11
- arkworks_pippenger
12
12
- bucket_wise_msm
13
13
- precompute_msm
14
14
- metal::msm (GPU)
15
15
16
- Replace ` MSM_ALGO ` with the algorithm name below to get the benchmarks
16
+ Replace ` MSM_ALGO ` with one of the algorithms above to get the corresponding benchmarks.
17
17
18
- Benchmarking for <u >single instance size</u >
18
+ Benchmarking for <u >single instance size</u >:
19
19
``` sh
20
20
cargo test --release --package mopro-msm --lib -- msm::MSM_ALGO::tests::test_run_benchmark --exact --nocapture
21
21
```
22
22
23
- Benchmarking for <u >multiple instance size</u >
23
+ Benchmarking for <u >multiple instance size</u >:
24
24
``` sh
25
25
cargo test --release --package mopro-msm --lib -- msm::MSM_ALGO::tests::test_run_multi_benchmarks --exact --nocapture
26
26
```
27
27
28
28
## gpu-exploration-app
29
29
30
- This is a benchmark app to compare the performance of different algorithm on IOS device.
30
+ This is a benchmark app to compare the performance of different algorithms on iOS device.
31
31
32
- Run this command on the project root directory to compile metal library for OS
32
+ You can run the following commands in the root directory of the project to compile the metal library for a given OS:
33
33
``` sh
34
34
# for macOS
35
35
bash mopro-msm/src/msm/metal/compile_metal.sh
You can’t perform that action at this time.
0 commit comments