Rate This Document
Findability
Accuracy
Completeness
Readability

Introduction

This document describes how to install the Kunpeng Unified Acceleration Framework (KUAF) and provides detailed interface definitions, helping you quickly get started with this framework.

Developed by Kunpeng, KUAF enhances the collaboration between the Kunpeng Accelerator Engine (KAE) hardware and software libraries for faster compression.

KUAF can schedule KAE hardware accelerators to accelerate zlib compression and decompression. Users can seamlessly switch to zlib interfaces through the KUAF adaptation layer. Currently, KUAF supports only the deflate/inflate interfaces in the open source zlib library. Table 1 lists the scheduling policies supported by KUAF.

Table 1 KUAF scheduling policies

No.

Policy

Description

1

Hardware bandwidth-based scheduling

Collects hardware bandwidth usage and switches to software libraries when the hardware bandwidth usage reaches the upper limit.

2

Software-hardware resource ratio-based scheduling

Configures a software-hardware resource ratio and randomly implements software computing or hardware computing based on the ratio.