我要评分
获取效率
正确性
完整性
易理解

Introduction

The Compiler and Debugger allows you to deploy Kunpeng compilers in one click and debug GPU-based applications in a single-node system. It leverages CUDA-GDB debugging to debug GPU-based applications on a unified page. It also supports parallel debugging of applications on multiple nodes in HPC scenarios and remote compilation and debugging on the Kunpeng platform.

Table 1 Functions

Function

Description

Supported Platform

Compiler deployment

You can deploy GCC for openEuler, BiSheng JDK, and BiSheng Compiler with a few clicks.

  • Parallel HPC application running and debugging, CUDA application running and debugging, and security application running and debugging support Kunpeng and Phytium.
  • Other features are available on all platforms.

Common compilation

Common compilation provides basic remote compilation capabilities and supports visualized compilation parameter configuration, one-click compilation, and real-time display of compilation information.

Automatic FDO compilation

Automatic feedback-directed optimization (FDO) is a technique that simplifies the PGO deployment process. It samples program runtime profile to indirectly obtain the program execution status.

General application running and debugging

Remote debugging capabilities are available and a graphical user interface (GUI) is provided to improve debugging efficiency.

Parallel HPC application running and debugging

The Compiler and Debugger supports concurrent debugging on multiple nodes in HPC scenarios. MPI applications can only be debugged in launch mode. Parallel computing involves task parallelism and data parallelism. That is, different tasks are executed or different data is stored on different nodes. Currently, parallel HPC tasks support only CPU debugging.

CUDA application running and debugging

The Compiler and Debugger allows you to debug CUDA programs. It leverages CUDA-GDB to debug GPU applications on a unified interface.

Security application running and debugging

After you create a Java or Python project in the Development Assistant, a general compilation task and a security application debugging task are generated in the Compiler and Debugger. You can compile and run the tasks based on your requirements or create a security application debugging task on your own.

  • The Compiler and Debugger uses lldb-server and cuda-gdbserver to debug parallel HPC applications and CUDA applications. For security purposes, you are advised to deploy lldb-server and cuda-gdbserver only in the development environment because they listen to all IP addresses on the host when being started.
  • LDAP is a permission management solution for shared directories. The Compiler and Debugger has been adapted to LDAP.