Matrix multiplier

A matrix multiplier and matrix technology, applied in the field of computing, can solve problems such as low efficiency and inflexible calculation, and achieve the effect of improving efficiency and application effect.

Active Publication Date: 2019-07-09
HUAWEI TECH CO LTD
View PDF4 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The technical problem to be solved by the embodiments of the present invention is to provide a matrix multipl

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 multiplier
  • Matrix multiplier
  • Matrix multiplier

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] Embodiments of the present invention will be described below with reference to the accompanying drawings in the embodiments of the present invention.

[0058] The terms "first", "second", "third" and "fourth" in the specification and claims of the present application and the drawings are used to distinguish different objects, rather than to describe a specific order . Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or apparatuses.

[0059] Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included i...

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 multiplier, relates to the technical field of data calculation, and aims to perform block calculation on two matrixes. The matrix multiplier includes: a first memory, a second memory, an operational circuit and a controller, wherein the operational circuit can be in data communication with the first memory and the second memory through a bus; andthe controller is used for controlling the first matrix and the second matrix to separate; according to a preset program or an instruction, and controlling the operation circuit to multiply the corresponding blocks in the first memory and the second memory according to the dividing result of the controller. The matrix multiplier can be used for carrying out multiplication operation on two matrixes.

Description

technical field [0001] The invention relates to the technical field of computing, in particular to a matrix multiplier. Background technique [0002] Currently, to calculate the product of two matrices A and B, it can be calculated in either of the following two ways: [0003] Method 1: Computation is performed by a vector processor. [0004] Assuming C=A*B, the number of elements that can be calculated by the vector processor at the same time is M, see figure 1 , the vector processor will take the i-th row vector of matrix A (including element A i1 、A i2 ,...,A i(M-1) 、A iM ) into the source register Reg0, and then the jth column vector of matrix B (including element B j1 , B j2 ,...,B j(M-1) , B jM ) is loaded into the register Reg1, the multiplication between the corresponding elements of Reg0 and Reg1 can be realized, and finally the accumulation operation is completed through the addition tree, and the data C of the i-th row and j-th column of the matrix C is c...

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/16G06F7/5443G06F7/53
Inventor 刘虎廖恒屠嘉晋袁宏辉林灏勋
Owner 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