Device and method for executing vector outer product operation

A technology of outer product operation and vector operation, which is applied in the direction of machine execution devices, complex mathematical operations, calculations, etc., can solve the problems of limited inter-chip communication, insufficient flexibility of vector length, and insufficient on-chip cache, so as to achieve flexible vector length and improve Execution performance, effects of resolving dependency issues

Active Publication Date: 2017-11-03
CAMBRICON TECH CO LTD
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The object of the present invention is to provide a vector outer product operation device and method to solve the problems existing in the prior art such as limited inter-chip communication, insufficient on-chip cache, and insufficient flexibility of supported vector lengths.

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
  • Device and method for executing vector outer product operation
  • Device and method for executing vector outer product operation
  • Device and method for executing vector outer product operation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0030] According to an embodiment of the present invention, the device for calculating outer product of vectors further includes: an instruction buffer unit configured to store instructions for calculating outer product of vectors to be executed. During the execution of the instruction, it is also cached in the instruction cache unit. After an instruction is executed, if the instruction is also the earliest instruction among the uncommitted instructions in the instruction cache unit, the instruction will be submitted. Once submitted , the operation performed by this command will not undo the changes to the device status. In one implementation, the instruction cache unit may be a reorder cache.

[0031] According to an embodiment of the present invention, the vector outer product operation device further includes: an instruction processing unit, which is used to obtain a vector outer product operation instruction from the instruction cache unit, and after processing the vector ...

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 invention provides a device and method for executing vector outer product operation. The device comprises a storage unit, a register unit and a vector outer product operation unit, wherein the storage unit is internally stored with vectors; the register unit is internally stored with addresses for vector storage; and the vector outer product operation unit is used for obtaining a vector address in the register unit according to an assorted instruction, obtaining a corresponding vector in the storage unit according to the vector address and carrying out vector outer product operation according to the obtained vector so as to obtain an operation result. According to the device and method, vector data participating in the calculation is temporarily stored on a scratch pad memory, so that the data with different widths can be supported more flexibly and effectively in the vector outer product operation process and then the execution performance of applications comprising vector outer products is enhanced.

Description

technical field [0001] The invention relates to a vector outer product operation device and method, which are used for performing vector outer product operation according to a vector outer product operation instruction. Background technique [0002] In the category of vector spaces, homomorphisms between objects are all linear maps. But in fact, we often encounter the concept of "bilinear mapping". For example, the inner product is a bilinear mapping V×V→C. We hope to attribute the property of "bilinear" to the category of vector space. One way is to construct a vector space Z related to V and W, so that all "bilinear maps" defined on V×W can be replaced by a "only" "linear map" defined on Z. This Z is called the tensor product (outer product) of V and W. For example, the magnitude of the calculated value of the vector outer product a×b is |a|·|b|·sin<a, b>. [0003] Among the existing applications in the computer field, applications related to vector operations are...

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/16G06F9/30036G06F9/30G06F9/3001G06F9/30043G06F9/30032G06N3/04
Inventor 罗韬支天刘少礼陈天石陈云霁
Owner CAMBRICON 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