AIE Kernel Optimizer

0•

Optimizes AMD AI Engine (AIE) and Peano-compiled machine learning kernels using hardware-measured micro-optimization levers.

AIE Kernel Optimizer provides systematic, measure-first guidance for micro-optimizing compute-bound kernels (such as INT8 convolutions, matmul, and attention) on AMD AI Engine architectures including Versal, Phoenix, and Strix Point. It helps developers eliminate performance bottlenecks through prioritized levers like loop pipelining hints, compile-time constant folding, software division eradication, branch splitting, and vector instruction inspection. Ideal for machine learning engineers and FPGA/NPU developers targeting AMD XDNA platforms, it turns noisy, non-vectorized C/C++ code into peak-throughput VLIW assembly while maintaining bit-exact accuracy.

主な機能

010 GitHub stars
02Techniques for folding shapes and trip counts using constexpr and template specialization
03Assembly and ELF inspection techniques to verify vectorization and identify stalls
04Prioritized micro-optimization levers for loop hints, branch splitting, and unrolling
05Optimization patterns to eliminate software div calls (__divsi3) and vector barriers
06Hardware-focused measure-first methodology guaranteeing bit-exact output validation

ユースケース

01Debugging unvectorized code paths and eliminating register spills in Peano-compiled ELFs
02Accelerating INT8 convolution, GEMM, and attention kernels for AMD XDNA and Versal hardware
03Refactoring mixed-source reduction loops to maximize VLIW instruction packing