Matrix multiplier

一种矩阵乘法器、矩阵的技术,应用在计算领域,能够解决效率低、计算不灵活等问题,达到提高效率、提高应用效果的效果

Pending Publication Date: 2020-10-30
HUAWEI TECH CO LTD
View PDF0 Cites 9 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 multiplier and related equipment to solve the problems of inflexible calculation and low efficiency in matrix multiplication

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 "comprising" and "having", 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 inclu...

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-to-multiplier, relates to the technical field of data calculation, and aims to perform block calculation on two matrixes. The matrix multiplier comprises: 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;and the controller is used for controlling the first matrix and the second matrix to perform partitioning according to a preset program or instruction, and controlling the operational circuit to perform multiplication operation on corresponding partitions in the first memory and the second memory according to a partitioning result of the controller. The matrix multiplier may be used to multiply two matrices.

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 Regl, which can realize the multiplication between the corresponding elements of Reg0 and Reg1, and finally complete the accumulation operation through the addition tree, and calculate the data C of the i-th row and j-th column of the matri...

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
Patent Type & Authority Applications(China)
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