Skip to content

pypto-toolkit v4.0.31

Choose a tag to compare

@indigo1973 indigo1973 released this 20 Aug 13:28
· 1 commit to main since this release

New Features & Enhancements

  • Added the PyPTO Studio memory reuse analyzer

    • Parse *_after_AllocateMemoryAddr.py files
    • 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
  • 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, and critical_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
  • Enhanced IR Pass Trace discovery

    • Search for passes_dump in the parent directory of the chip swimlane data
    • Recursively locate snapshot directories containing 00_frontend.py
    • Provide clearer messages when passes_dump or frontend snapshots are missing, including guidance to enable --dump-passes
  • 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