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.

Pending Publication Date: 2021-03-05
SHANGHAI HUAWEI TECH CO LTD
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It is easy to understand that a lot of resources are needed in the process of ...

Method used

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
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Matrix operation method, operation device and processor
  • Matrix operation method, operation device and processor
  • Matrix operation method, operation device and processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The embodiments of the present application provide a matrix calculation method, a calculation device and a processor, which are used to improve the calculation efficiency, reduce the calculation power consumption, and save the calculation resources during the matrix calculation process.

[0026] Embodiments of the present application are described below in conjunction with the accompanying drawings.

[0027] The terms "first", "second" and the like in the specification and claims of the present application and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It should be understood that the terms used in this way can be interchanged under appropriate circumstances, and this is merely a description of the manner in which objects with the same attribute are described in the embodiments of the present application. Furthermore, the terms "comprising" and "having", as well as any variations ...

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

PUM

No PUM Login to view more

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.

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

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/16
CPCG06F17/16
Inventor 肖聪张争争陈铁王平吴正成
Owner SHANGHAI HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products