Rate This Document
Findability
Accuracy
Completeness
Readability

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. The supported functions are as follows:
  • One-click deployment of Kunpeng compilers (GCC for openEuler, BiSheng Compiler, and BiSheng JDK)
  • Visualized configuration of compilation and debugging parameters and one-click code compilation, execution, and debugging
  • Remote, single-step debugging of C/C++ code
  • Real-time interaction of the compilation and debugging information
  • Source and assembly code debugging for CUDA applications
  • Source and assembly code debugging of HPC applications, display of historical communication group details, and stack switchover

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.

Common compilation, automatic FDO compilation, and general application running and debugging are supported on the Kunpeng development board.