Aube.Tuesday, 24 November 2026Support us

Aube.

News of progress
LabSingle source

In tests, ABACUS runs up to 10.7x faster on Huawei Kunpeng 920

Languages for this article
Original · ENDEESFRITPT

Originally written in English. 6 languages available; yours is one click away.

Illustrative photo: Huawei store at Guotai Life Plaza, Airport (20220831142844)
Illustrative photo: N509FZ · CC BY-SA 4.0 · Wikimedia Commons

A Peking University team has made ABACUS, an open-source materials simulation code, up to 10.7 times faster on Huawei's Kunpeng 920 processor. The work was led by researcher Chen Mohan, and Huawei Computing announced it in a post on October 31.

Density functional theory, or DFT, is the main first-principles method for studying the properties of materials such as semiconductors and metals: it computes them from the laws of quantum physics rather than from measurements. ABACUS is developed jointly by several institutions and has more than 1,000 users at over 100 organizations. Its code had to be adapted to the Kunpeng 920 family, which comes in several models.

The chip's models support NEON, SVE or SVE512 vector instructions, which process many numbers in one operation, plus a dedicated matrix unit. Generic compiler options leave these units idle, so the team built separate toolchains: gcc with OpenMPI and OpenBLAS for the NEON and SVE builds, and clang with Huawei's HMPI and KBLAS for the others. It also added an option to plug in the Kunpeng Math Library. All builds passed ABACUS's integration tests, covering the main DFT methods, with results matching mainstream implementations. On a set of 10 material systems, including GaAs, MoS2, BaTiO3, iron and silicon, the SVE build ran 1.3 to 3.9 times faster than a mainstream x86 CPU, and the matrix build reached up to 10.7 times on all cores of one node.

The team also rewrote small operators that are called very often. Replacing a recursive polynomial routine with an iterative one cut its complexity to O(n) and made it about eight times faster in a million-call test. Switching interpolation lookups to binary search cut the average number of comparisons on a 400-entry table from about 200 to nine. Every operator's numerical results were rechecked. Using Huawei's automatic optimization tool, the team also sped up a 512-atom silicon case by 2.66 times on a newer Kunpeng 920 model.

For groups running ABACUS on Kunpeng hardware, the change is a shorter wait for the same calculations. The code is already public on GitHub. The figures remain the team's and Huawei's own measurements on a set of 10 standard systems, and the sources give no date for wider adoption. Huawei says the tuning experience can be reused for other scientific software, which is the next step the announcement points to.

10.7xSpeedup on one node using the chip's matrix unit, per the team's tests

Sources — read the originals(Paris time)

PandailyEN
0000

Read next

Comments

Loading the thread…

Sign in to leave a comment. Sign in