-
公开(公告)号:US20210216483A1
公开(公告)日:2021-07-15
申请号:US17216476
申请日:2021-03-29
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Baoqing LIU , Hu LIU , Qinglong CHEN
Abstract: The present disclosure discloses example operation accelerators and compression methods. One example operation accelerator performs operations, including storing, in a first buffer, first input data. In a second buffer, weight data can be stored. A computation result is obtained by performing matrix multiplication on the first input data and the weight data by an operation circuit connected to the input buffer and the weight buffer. The computation result is compressed by a compression module to obtain compressed data. The compressed data can be stored into a memory outside the operation accelerator by a direct memory access controller (DMAC) connected to the compression module.
-
公开(公告)号:US20240220432A1
公开(公告)日:2024-07-04
申请号:US18601409
申请日:2024-03-11
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Baoqing LIU , Hu LIU , Qinglong CHEN
Abstract: The present disclosure provides example operation accelerators and compression methods. One example operation accelerator includes a storage configured to store first input data, weight data, and a control instruction, and an operation circuit connected to the storage and configured to perform matrix multiplication on the first input data and the weight data, to obtain a computation result. The operation accelerator further includes a compression module configured to compress the computation result to obtain compressed data, as well as a controller connected to the storage and configured to obtain the control instruction from the storage, and when the control instruction includes instructions to compress the computation result, control the compression module to compress the computation result to obtain the compressed data. The operation accelerator further includes a direct memory access controller connected to the compression module and configured to store the compressed data in a memory outside the operation accelerator.
-