Repository navigation
spacemit: add spert whole-graph kernel path - #31
Merged
alex-spacemit merged 1 commit intoAug 15, 2026
Merged
Conversation
co-seven
commented
Aug 14, 2026
Collaborator
- ggml-cpu.c: bypass threadpool on RISCV64_SPACEMIT, run whole graph inside AI cores via spacemit_spert_launch_graph_kernel; redirect ggml_barrier to spert grid sync
- spacemit_spert_adapter.{h,cpp}: C/C++ boundary for spine-runtime ABI (stream require/dispatch/release, grid sync via spine_ctx_sync C ABI, per-tile TCM buffer)
- ime.cpp/ime.h: use spert shared buffer and grid sync
- CMakeLists.txt: link spine-runtime (SPERT_DIR)
- .github: fetch spine-runtime (spert) release for glibc and OHOS builds, pass SPERT_DIR to cmake
- ggml-cpu.c: bypass threadpool on RISCV64_SPACEMIT, run whole graph
inside AI cores via spacemit_spert_launch_graph_kernel; redirect
ggml_barrier to spert grid sync
- spacemit_spert_adapter.{h,cpp}: C/C++ boundary for spine-runtime ABI
(stream require/dispatch/release, grid sync via spine_ctx_sync C ABI,
per-tile TCM buffer)
- ime.cpp/ime.h: use spert shared buffer and grid sync
- CMakeLists.txt: link spine-runtime (SPERT_DIR)
- .github: fetch spine-runtime (spert) release for glibc and OHOS builds,
pass SPERT_DIR to cmake
co-seven
force-pushed
the
spert-migration
branch
from
August 14, 2026 10:09
bd716d8 to
4b7a799
Compare
alex-spacemit
merged commit Aug 15, 2026
754e371
into
spacemit-com:mtmd-backend
11 of 12 checks passed
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.