AI Engine API - 2024.1 English

AI Engine Kernel and Graph Programming Guide (UG1079)

Document ID
Release Date
2024.1 English

For AI Engine API documentation, see the AI Engine API User Guide (UG1529).

  • The AI Engine API is a portable programming interface for AI Engine kernel programming. This API interface will target current and future AI Engine architectures.
  • The interface provides parameterizable data types that enable generic programming and also implements the most common operations in a uniform way across the different data types. It is an easier programming interface as compared to using intrinsic functions.
  • It is implemented as a C++ header-only library that gets translated into optimized intrinsic functions.

For an advanced user that needs programming with intrinsics, refer to AI Engine Intrinsics User Guide (UG1078).

The AI Engine API user guide is organized as follows:

API Reference
  • Basic Types
  • Memory
  • Initialization
  • Arithmetic
  • Comparison
  • Reduction
  • Reshaping
  • Floating-point Conversion
  • Elementary Functions
  • Matrix Multiplication
  • Fast Fourier Transform (FFT)
  • Special Multiplications
  • Operator Overloading
  • Interoperability with Adaptive Data Flow (ADF) Graph Abstractions
Figure 1. AI Engine API User Guide