[codex] Port SuperNPUBench to PTO v0.57 block flow#17
Closed
zhoubot wants to merge 1 commit into
Closed
Conversation
The LinxISA and PTO ISA benchmark trees now use the v0.57 tile descriptor syntax, updated TileOP API surface, synced kernel wrappers, and stricter compile wrappers that fail when an operator fails. Constraint: Issue #14 requires the hardware-visible memory, reduction, and elementwise TileOP API surface to compile without encoding sync, comm, pipe lifecycle, or IR-only PTO operations Rejected: Keep compile_all.sh exit-zero on failed operators | hidden failures made prior flow evidence unreliable Confidence: high Scope-risk: broad Directive: Keep benchmark-linxisa and benchmark-ptoisa wrapper APIs aligned when adding v0.57 TileOP forms Tested: COMPILER_DIR=/Users/zhoubot/linx-isa/compiler/llvm/build-linxisa-clang/bin bash workloads/SuperNPUBench/compile_all.sh all returned RC:0 Tested: 26 successful operator groups, 49 LinxISA ELFs, 56 PTO ISA ELFs, zero failure markers
Contributor
Author
|
Temporarily discarding the PTO v0.57 block-flow port. Non-ISA benchmark/runtime fixes remain out of scope for this closure. |
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
Ports SuperNPUBench to the PTO v0.57 block/API flow:
TFILLPADandTCONCATas real instruction-backed benchmark APIscompile_all.shreturn nonzero when any operator build failsIssue #14
This closes the compile/API gap for the 29 hardware-visible PTO operations discussed in #14. Sync, communication, pipe lifecycle, and IR-only PTO surfaces remain outside the hardware encoding scope.
Validation
From the LinxISA superproject:
COMPILER_DIR=/Users/zhoubot/linx-isa/compiler/llvm/build-linxisa-clang/bin bash workloads/SuperNPUBench/compile_all.sh allRC:0