zkmopro / zkmopro/gpu-acceleration

Shared compilation with iOS target is broken

Open
#49 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
29
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Details

When running tests in cargo test --target aarch64-apple-ios configuration the test that is required shaders to run fails with the error below:

     Running unittests src/lib.rs (target/aarch64-apple-ios/debug/deps/mopro_msm-b350a09449b0df83)
error: test failed, to rerun pass `--lib`

Caused by:
  process didn't exit successfully: `gpu-acceleration/target/aarch64-apple-ios/debug/deps/mopro_msm-b350a09449b0df83 test_barrett_reduce_with_mont_params` (signal: 9, SIGKILL: kill)

Seems that this happens due to a bug within shader.rs::compile_metal function to be discovered and fixed.

Acceptance criteria

Successfully running tests with iOS target

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting shader.rs::compile_metal and reproduce the failure with cargo test --target aarch64-apple-ios. Focus on the test_barrett_reduce_with_mont_params failure and use the reported SIGKILL as the starting symptom. Done means the iOS-targeted test suite runs successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, rust
Domain
mobile-dev, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.