Rate This Document
Findability
Accuracy
Completeness
Readability

Overview

The code samples in described in Table 1 demonstrate the functions of each CLI tool of the Kunpeng DevKit. You can refer to these code samples when analyzing and optimizing your development projects in the Kunpeng DevKit.

Table 1 Code samples

Tool

Scenario

Description

Sample Code

System Profiler

Sample 1: Using Roofline Analysis to Tune Applications

For the same type of applications, you can use the roofline analysis function of the Kunpeng DevKit System Profiler to tune the roofline analysis task level by level in multiple dimensions, and therefore understand how to perform a roofline analysis task.

matrix.h

matrix.c

matmult.h

main.c

intrinsic_matmult.c

block_matmult.c

base_matmult.c