This document is relevant for: Trn2, Trn3
NKI Deep Dives#
This section provides in-depth technical documentation and guides for advanced users of the Neuron Kernel Interface (NKI). These deep dives offer detailed explanations of NKI concepts, programming patterns, and best practices to help you maximize the performance and capabilities of your NKI code on AWS Neuron devices.
Optimizing a NKI Kernel#
Advanced NKI Programming#
NKI Scalar Values
Read integers on device with nki.isa.scalar_load, and use them as dynamic offsets and loop bounds.
Additional NKI Information#
This document is relevant for: Trn2, Trn3