Skip to content

Conversation

@moven0831
Copy link
Collaborator

Introduction

this PR mainly contains two sections:

  1. Refactor for shader build logic
  2. Init UniFFI APIs for metal_msm using mopro v2

related issues:

Refactor for shader build logic

  • In Shaders precompile instead of compiling on the fly #83, it introduces shader pre-compile for our new metal MSM, with additional ~20% performance improvement for the 2^20 testcase.
  • We enhanced shader compilation with MSM_COMPILE_ALL_SHADERS=1 flag for ci tests so that the metal libraries for MSM_ONLY (normal case) can be distinguished from the test build.

Init UniFFI APIs for metal_msm using mopro v2

  • We simply create the example/ directory using mopro init
  • Import mopro-msm as a module and build an API to run metal msm

@moven0831 moven0831 self-assigned this Jun 5, 2025
@moven0831 moven0831 merged commit 8d51dc1 into main Jun 5, 2025
2 checks passed
@yaroslavyaroslav yaroslavyaroslav deleted the feat/example-ios-app branch June 5, 2025 04:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants