Ascend C

Overview

Ascend C is a programming language developed based on CANN for operator development. It supports native C and C++ standards and features both development efficiency and runtime performance. The operator program compiled based on Ascend C runs on the Ascend AI Processor through compiler compilation and runtime scheduling. With Ascend C, developers can efficiently customize algorithms based on the Ascend AI hardware.

Ascend C has the following advantages in custom operator development:

  • Complying with C/C++ coding standards to adapt to user development habits
  • Automatic parallel scheduling, achieving optimal execution performance
  • Structured kernel function programming, simplifying operator development logic
  • CPU/NPU twin debugging, improving operator debugging efficiency

More information is available at Ascend C.

Operator Development Process

Kernel API - High-Level APIs Kernel API - Basic APIs Host API Operator Debugging API

Before You Start

Ascend C supports the following product models:
  • Atlas Training Series Product