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

Hotspot Analysis

Tools such as perf are used to collect hotspot data during code running. If a hotspot function is an existing function in KML, KML can accelerate it.

For example, when the HPC software CP2K is running, use perf to collect hotspot data. It is found that the dgemm function accounts for 79.91%.

According to the hotspot analysis result, the dgemm function is the biggest bottleneck. Mathematical functions in KML optimized based on the Kunpeng platform can be used for acceleration.