Introduction
The best practices described in this document demonstrate the functions of each tool of the Kunpeng DevKit. You can refer to these best practices when analyzing and optimizing your development projects in the Kunpeng DevKit. See Table 1.
Tool |
Feature |
Working Mode |
Best Practice |
Description |
|---|---|---|---|---|
Affinity Analyzer |
Byte Alignment Check |
VS Code |
Practice 1: Checking Byte Alignment of wtdbg Source Code |
wtdbg is a fast and efficient genome algorithm written in C language. Use the Affinity Analyzer to analyze development projects written in C language and provide modification suggestions for byte alignment. |
Static Memory Consistency Check |
VS Code |
Practice 1: Automatic Repair by the Compiler |
fifo is a common lock-free queue test demo for a single producer and consumer. Use the Affinity Analyzer to analyze development projects written in C/C++ and provide modification suggestions. |
|
Development Assistant |
Secure Computing Applications |
VS Code |
Practice 1: Creating an Empty Secure Computing Application Project |
An empty project provides the hello-world code sample and contains the CA and TA projects for invoking. This document uses the empty secure computing application project as an example to describe how to create, compile, and run a secure computing application project and how to deploy SDKs, helping you quickly get started with application development. |
VS Code |
Practice 2: Creating an RSA Secure Computing Application Project |
An RSA project contains source code and abundant samples, which greatly improve coding efficiency. This document uses the RSA project as an example to describe how to create, compile, and run a secure computing application project and how to deploy SDKs, helping you quickly get started with application development. |
||
HPC Applications |
VS Code |
Practice 1: Creating an HPC Application Project |
You can create empty, Hyper MPI, and KML projects under a Kunpeng HPC project. This document uses the basic math library as an example to describe how to create, compile, and run an HPC application project and how to deploy SDKs, helping you quickly get started with application development. |