{"id":26662927,"url":"https://github.com/zkmopro/gpu-acceleration","last_synced_at":"2025-06-15T04:37:30.825Z","repository":{"id":248429730,"uuid":"822957006","full_name":"zkmopro/gpu-acceleration","owner":"zkmopro","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-10T09:59:11.000Z","size":5397,"stargazers_count":18,"open_issues_count":8,"forks_count":9,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-11T18:23:43.541Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zkmopro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-02T06:50:10.000Z","updated_at":"2025-04-10T09:59:15.000Z","dependencies_parsed_at":"2024-12-06T14:34:17.064Z","dependency_job_id":"b5aa1bfd-70d8-4d41-8942-541a9a6e3471","html_url":"https://github.com/zkmopro/gpu-acceleration","commit_stats":null,"previous_names":["zkmopro/gpu-acceleration"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkmopro%2Fgpu-acceleration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkmopro%2Fgpu-acceleration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkmopro%2Fgpu-acceleration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkmopro%2Fgpu-acceleration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zkmopro","download_url":"https://codeload.github.com/zkmopro/gpu-acceleration/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248456382,"owners_count":21106607,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-25T14:18:57.608Z","updated_at":"2025-04-11T18:24:06.642Z","avatar_url":"https://github.com/zkmopro.png","language":"Rust","funding_links":[],"categories":["Projects by GPU Technology"],"sub_categories":["Metal (Apple Silicon / iOS / macOS)"],"readme":"# mopro msm gpu-acceleration\n\nWe are researching and implementing methods to accelerate multi-scalar multiplication (MSM) on IOS mobile device.\n\n## mopro-msm\n\nThis is a of various implementations of MSM functions, which are then integrated in `mopro-core`.\n\n### Run benchmark on the laptop\nCurrently we support these MSM algorithms on BN254:\n- arkworks_pippenger\n- bucket_wise_msm\n- precompute_msm\n- metal::msm (GPU)\n\nReplace `MSM_ALGO` with one of the algorithms above to get the corresponding benchmarks.\n\nBenchmarking for \u003cu\u003esingle instance size\u003c/u\u003e:\n```sh\ncargo test --release --package mopro-msm --lib -- msm::MSM_ALGO::tests::test_run_benchmark --exact --nocapture\n```\n\nBenchmarking for \u003cu\u003emultiple instance size\u003c/u\u003e:\n```sh\ncargo test --release --package mopro-msm --lib -- msm::MSM_ALGO::tests::test_run_multi_benchmarks --exact --nocapture\n```\n\n## gpu-exploration-app\n\nThis is a benchmark app to compare the performance of different algorithms on iOS device.\n\nYou can run the following commands in the root directory of the project to compile the metal library for a given OS:\n```sh\n# for macOS\nbash mopro-msm/src/msm/metal/compile_metal.sh\n\n# for iphoneOS\nbash mopro-msm/src/msm/metal/compile_metal_iphone.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkmopro%2Fgpu-acceleration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzkmopro%2Fgpu-acceleration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkmopro%2Fgpu-acceleration/lists"}