chore: migrate rust/simd to icp-cli#1404
Draft
marc0olo wants to merge 1 commit into
Draft
Conversation
- Replace dfx.json with icp.yaml using @dfinity/rust@v3.3.0 - Move mat_mat_mul/ source into backend/ subdirectory - Rename package to backend, update ic-cdk to 0.20, replace ic_cdk_macros with ic_cdk - Update Makefile with icp canister call --query tests for all 7 methods - Update README with icp-cli deploy instructions, preserve SIMD performance insights - Add .github/workflows/simd.yml CI job (icp-dev-env-rust:1.0.0) - Delete dfx.json, BUILD.md, .devcontainer/, mat_mat_mul/ - Keep .cargo/config.toml with wasm32 SIMD target-feature comments Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
dfx.jsonwithicp.yamlusing@dfinity/rust@v3.3.0mat_mat_mul/intobackend/subdirectory; renames package tobackendic-cdkto 0.20 and replaces the separateic-cdk-macroscrate with the macros re-exported fromic_cdk.cargo/config.tomlwith thewasm32-unknown-unknownSIMD target-feature comments (critical for the per-function#[target_feature(enable = "simd128")]approach this example demonstrates)Makefilewith numberedicp canister call --querytests for all 7 public methodsREADME.mdwithicp-clideploy instructions, preserving the SIMD performance insights (10x f32 speedup, 2x u32 speedup) and explanation of the packing technique.github/workflows/simd.ymlCI job usingghcr.io/dfinity/icp-dev-env-rust:1.0.0dfx.json,BUILD.md,.devcontainer/Test plan
icp network start -d && icp deploybuilds and deploys the backend canistermake testruns all 7 SIMD benchmark query calls and verifies non-zero instruction countsrust-simdpasses on the PR🤖 Generated with Claude Code