feat: testbench core infrastructure (PLENAProgram, DeveloperCompiler, SubMatrixManager)#4
Open
booth-algo wants to merge 1 commit intomainfrom
Open
feat: testbench core infrastructure (PLENAProgram, DeveloperCompiler, SubMatrixManager)#4booth-algo wants to merge 1 commit intomainfrom
booth-algo wants to merge 1 commit intomainfrom
Conversation
2 tasks
bc2ff7b to
d774500
Compare
…ler, SubMatrixManager) 3-layer compilation stack for generating PLENA ISA from high-level ops: - PLENAProgram: tensor proxy API, HBM auto-allocation, scoped naming - DeveloperCompiler: register allocation, ISA string emission, ASM templates - SubMatrixManager: VRAM/MRAM/HBM memory layout, sub-block addressing Supporting infrastructure: - symbol_table, config_utils, emulator_runner, check_mem - Rust emulator: new opcodes (V_SHFT_V, H_STORE_V_PART) - justfile: test recipes for all operator tests - CLAUDE.md: project context + CI check instructions Co-Authored-By: Ziqian Gao <zg1223@ic.ac.uk>
d774500 to
4f38fcb
Compare
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
3-layer compilation stack for generating PLENA ISA from high-level tensor operations:
(Developed by @gaoziqian123)
@operator overloadingSupporting infrastructure:
symbol_table.py— tensor metadata trackingconfig_utils.py— plena_settings.toml read/writeemulator_runner.py— build + run emulator, compare against goldencheck_mem.py— VRAM/golden comparison with allclose metricsjustfile: test recipes for all operator testsCLAUDE.md: project context + CI check instructionsArchitecture
Test plan