Matrix operation method, operation device and processor

A technology of matrix operation and operation device, applied in the field of communication, can solve the problems of increasing power consumption, occupying large resources, wasting time, etc.
CN112446007APending Publication Date: 2021-03-05SHANGHAI HUAWEI TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
SHANGHAI HUAWEI TECH CO LTD
Publication Date
2021-03-05

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The embodiment of the invention discloses a matrix operation method, an operation device and a processor, which are used for improving the operation efficiency, reducing the operation power consumption and saving the operation resources in the matrix operation process. The method is applied to the arithmetic device, the arithmetic device comprises at least one arithmetic module, each arithmetic module comprises (M * N) arithmetic units, the (M * N) arithmetic units in each arithmetic module are arranged into a two-dimensional matrix array with M rows and N columns, and M and N are integers larger than or equal to 2 respectively. The matrix operation method comprises the steps of obtaining an address of a sub-matrix according to an address of a to-be-operated matrix carried in a matrix operation instruction, wherein the sub-matrix is a two-dimensional matrix of M rows and N columns obtained by segmenting the to-be-operated matrix; reading matrix elements of the sub-matrixes into the operation modules according to the addresses of the sub-matrixes, wherein one operation module corresponds to one sub-matrix; and controlling an operation module to perform matrix operation on the sub-matrixes according to the matrix operation instruction to obtain a matrix operation result.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The embodiments of the present application relate to the field of communication technologies, and in particular, to a matrix calculation method, a calculation device, and a processor. Background technique

[0002] With the development of communication technology, especially the development and application of 5G technology, matrix operations account for an increasing proportion of all computing and processing algorithm types. Matrix operations are also widely used in artificial intelligence, digital image processing, and radar signal and data processing.

[0003] In addition to the above-mentioned matrix operations, more common types of operations include: scalar operations and vector operations. In terms of algorithm implementation, the existing common technology is to process various algorithms and data calculations of wireless communication in a digital signal processor (digital signal processor, DSP) and a central processing unit (center process un...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More