Overview
The code samples in Table 1 described in this document demonstrate the functions of each tool of the Kunpeng DevKit. You can refer to these code samples when analyzing and optimizing your development projects in the Kunpeng DevKit.
Tool |
Working Mode |
Scenario |
Description |
Code Sample |
|---|---|---|---|---|
Compiler and Debugger |
VS Code |
Sample 1: Parallel Debugging of MPI Applications |
The Compiler and Debugger enables debugging of MPI applications in launch mode concurrently on multiple nodes in HPC scenarios. Parallel computing involves task parallelism and data parallelism. That is, different tasks are executed or different data is stored on different nodes. Currently, HPC parallel tasks support only CPU debugging. |
bcast_demo.c |
VS Code |
Sample 2: Parallel Debugging of Hybrid MPI/OpenMP Applications |
The Compiler and Debugger enables debugging of hybrid MPI/OpenMP applications in launch mode concurrently on multiple nodes in HPC scenarios. |
mpi_openmp_demo.c |