Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for automatically compiling and running C/C + + codes for Huai Hua Servation acceleration card

A technology of automatic compilation and accelerator card, applied in the computer field, can solve problems such as inapplicability of parallel high-performance applications

Pending Publication Date: 2022-05-10
SUN YAT SEN UNIV
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The Ascend accelerator card provides a unified programming language AscendCL to the upper layer through CANN. The operators in the C language API library provided by AscendCL are all commonly used operators, which are available for building model networks. Not suitable for parallel high-performance applications

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for automatically compiling and running C/C + + codes for Huai Hua Servation acceleration card
  • Method for automatically compiling and running C/C + + codes for Huai Hua Servation acceleration card
  • Method for automatically compiling and running C/C + + codes for Huai Hua Servation acceleration card

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0024] The following is a brief description of the abbreviations and key terms used in this embodiment:

[0025] CANN: A unified heterogeneous computing framework that supports users to quickly build AI applications and services based on the Ascend platform by providing multi-level programming interfaces.

[0026] AscendCL (Ascend Computing Language): A set of C language API libraries for developing applications on the Ascend platform, mainly used to manage operations, call existing AI models and operator operations, so as to realize the computing power of the Ascend accelerator card .

[0027] Custom operator: In this invention, it refers to the operator operation not provided by AscendCL or to re-implement the existing operator in the operator library by yourself. In a nutshell, it means running the C / C++ written by yourself on the Ascend accelerator card function.

[0028] In order to make the purpose, technical solution and advantages of the present invention clearer, th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for automatically compiling and running C / C + + codes for a mercuric chloride acceleration card, which comprises the following steps of: providing an Ascend platform for an upper layer by a mercuric chloride acceleration card processor and characteristics of a user-defined operator of the Ascend platform in combination with C / C + + language compiling; the data management and operation scheduling capabilities of the host and the mercuration acceleration card processor are integrated through the overall process of operator function development and calling, so that the execution of self-defined function codes on the mercuration acceleration card is realized; the method comprises a unified description model of a user-defined operator function, a data model for memory management of a host and a mercuric chloride accelerator card processor, an automatic configuration program for an Ascend platform user-defined operator and a calling execution system of the user-defined operator.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method for automatically compiling and running C / C++ codes for Huawei Shengteng accelerator cards. Background technique [0002] The Ascend accelerator card is a high-performance and low-power AI acceleration module developed by Huawei. It provides super computing power and provides multi-level programming interfaces based on CANN (heterogeneous computing architecture for AI scenarios) for building AI. application. At present, the Ascend accelerator card is mainly used for the construction, training and reasoning of AI models that require large computing power. Recently, the demand for parallel computing applications and high-performance computing applications has been increasing. These two types of applications also require large computing power support. As a representative of localized high-power computing machines, the Ascend accelerator card is also the best choice for r...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/30G06F8/41G06F9/448G06F9/50
CPCG06F8/315G06F8/41G06F9/449G06F9/4496G06F9/5016
Inventor 张泽荣黄聃陈志广卢宇彤
Owner SUN YAT SEN UNIV