Overview of AscendCL

Introduction

AscendCL provides a collection of C language APIs for use in the development of DNN inference apps on the Ascend platform. These APIs are designed for runtime resource and memory management, model and operator loading and execution, as well as media data processing, facilitating deep learning inference computing, graphics and image preprocessing, and single-operator accelerated computing on the Ascend CANN platform by leveraging Ascend hardware compute resources. In a nutshell, AscendCL is a unified API framework used to invoke every resource.

The compute resource layer serves as the hardware compute capability basis of the Ascend AI Processor, and performs matrix-related computation of neural networks (NNs), general computation and execution control of control operators, scalars, and vectors, as well as image and video data preprocessing. This layer is fundamental to executing DNN computing.

Figure 1 Logical architecture

AscendCL Application Scenarios

Advantages of AscendCL