Manual kernels

This folder contains manual (hand-tuned) kernel examples that use explicit buffering, synchronization, and pipeline control for maximum performance on supported NPUs.

If you are new to PTO programming, start from the ISA and tutorials first:

Platforms

  • a2a3/: Manual kernels for Ascend A2/A3 platforms.
  • a5/: Manual kernels for Ascend A5 platforms.
  • common/: Cross-platform manual kernels (shared examples).

How to run

Each subdirectory is a standalone example with its own build/run instructions. See: