pypto-toolkit v4.0.31
New Features & Enhancements
-
Added the PyPTO Studio memory reuse analyzer
- Parse
*_after_AllocateMemoryAddr.pyfiles - Visualize functions, tiles, memory spaces, memory ranges, reuse relationships, conflicts, and hardware limits
- Support source-code viewing, source navigation, function/Tile linking, chart zooming, and theme adaptation
- Parse
-
Enhanced the performance analysis panel
- Added the “Kernel Statistics” tab
- Display function ID, function name, task count, and maximum/minimum/average execution time
- Added table sorting, fixed headers, and full-screen viewing
- Renamed “Performance Statistics” to “Performance Analysis”
- Improved the display of the complete AICore end-to-end timing label
-
Added critical path analysis
- Invoke the simpler critical path tool directly from the performance analysis panel
- Generate
CPM_static.json,CPM_observed.json, andcritical_path_report.md - Open the generated critical path report directly from the IDE
- Switch to the corresponding critical path preview after analysis
-
Added consecutive single-kernel analysis
- Identify consecutive single-kernel chains from task dependencies in
deps.json - Exclude non-compute tasks such as AICPU_N, ALLOC, and DUMMY tasks
- Display each candidate chain and its task count in a table
- Highlight all tasks in the selected chain
- Mark SPMD, MIX, and combined SPMD/MIX tasks
- Identify consecutive single-kernel chains from task dependencies in
-
Enhanced IR Pass Trace discovery
- Search for
passes_dumpin the parent directory of the chip swimlane data - Recursively locate snapshot directories containing
00_frontend.py - Provide clearer messages when
passes_dumpor frontend snapshots are missing, including guidance to enable--dump-passes
- Search for
-
Improved dependency graph UI and interactions
- Refined node styles, tooltips, context menus, and dependency-edge rendering
- Improved task highlighting, layout behavior, and localization
-
Improved swimlane editing interactions
- Keep task operation panels and timeline marker editors within the visible window
- Close panels when clicking outside, switching views, selecting another task, right-clicking another task, or pressing Esc
- Keep panels attached to the selected task or marker while zooming, panning, or moving the view
Bug Fixes
- Fixed operation panels appearing outside the window and becoming unselectable
- Fixed stale operation panels remaining visible after switching tasks or views
- Fixed editor panels not following their selected task or marker after view movement
- Fixed performance table header transparency, alignment, and sorting issues
- Fixed memory reuse analyzer rendering issues with many tiles, zooming, and long titles
- Fixed dependency graph node, edge, and tooltip rendering issues