Rate This Document
Findability
Accuracy
Completeness
Readability

Introduction

Overview

The automatic repair tool is a component of the Affinity Analyzer in the Kunpeng DevKit toolset. During compilation, it identifies all read and write instructions and automatically transforms them into memory-consistent and safe instructions. It resolves memory consistency issues transparently to users. Performance may vary depending on the workload.

Some projects are primarily written in C/C++. When porting the projects to the Kunpeng platform, you may encounter memory consistency issues. The automatic compiler repair tool, as a component of the Affinity Analyzer, can be used to rectify the memory consistency issues.

In this practice, the Affinity Analyzer is used to modify projects written in C/C++ and help port these projects with ease.

Programming language: C/C++

Open source license: BSD

Recommended Version

Kunpeng DevKit version: 26.1.RC1

FIFO source package