Organization of This Document

Required Knowledge

This document provides guidance for you to develop high-performance operators on the Ascend AI Processor based on the Ascend C programming language. Before reading this document, you should:

For the preceding learning materials, click here.

Problems Solving

The operators mentioned in this document refer to those developed by using Ascend C. After operators are developed, you can further optimize operator performance with the help of this document.

This document begins with the hardware features and data interaction of heterogeneous computing, then introduces debugging and tuning ideas along with performance optimization methods for programming with Ascend C, and finally presents specific performance optimization cases.

Optimizing operator performance is a continuous iteration process, which goes through the following steps cyclically until the performance goal is achieved. These four steps are also the basis for you to understand the best practices.

Figure 1 Operator performance optimization process

This main content of this document consists of: