MATRIX COMPUTING METHOD, CHIP, AND RELATED DEVICE

    公开(公告)号:US20240338174A1

    公开(公告)日:2024-10-10

    申请号:US18748393

    申请日:2024-06-20

    CPC classification number: G06F5/16 G06F9/3836 G06F17/16

    Abstract: This application provides a matrix computing method, a chip, and a related device. The chip includes a first buffer, is configured to buffer a first vector, and a second buffer is configured to buffer a second vector. A scheduling module generates a selection signal based on a bitmap of the first vector. The selection signal may cause the processing element to obtain, from the first buffer, a group of non-zero elements in the first vector, and cause the processing element to obtain, from the second buffer, a group of elements in the second vector. An operation is performed between the first vector and the second vector based on the group of non-zero elements in the first vector and the group of elements in the second vector. In this application, an element whose value is 0 in one vector may be excluded from computing, to reduce a computing amount.

    Method, Apparatus, and Device for Performing FFT

    公开(公告)号:US20240232281A1

    公开(公告)日:2024-07-11

    申请号:US18616470

    申请日:2024-03-26

    CPC classification number: G06F17/142

    Abstract: A method includes: receiving a fast Fourier transformation FFT execution request sent by an application program; obtaining first input data on which an FFT calculation needs to be performed; decomposing the FFT calculation into a plurality of calculation stages based on a cardinality of the FFT calculation, where each calculation stage includes a DFT calculation; determining a DFT calculation matrix corresponding to the DFT calculation in each calculation stage; determining, based on input data of a corresponding calculation stage when a calculation of each calculation stage is performed, a first data matrix on which a matrix operation is performed with the DFT calculation matrix; and performing a matrix multiplication calculation on the DFT calculation matrix and the first data matrix to implement the DFT calculation, and returning a calculation result to the application program after the plurality of calculation stages are completed.

Patent Agency Ranking