Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A device for performing vector logic operations

A logic operation and execution vector technology, applied in machine execution devices, complex mathematical operations, calculations, etc., can solve problems such as insufficient on-chip cache, limited inter-chip communication, and inflexible supported vector lengths, etc., to solve correlation problems , the effect of improving execution performance

Active Publication Date: 2020-08-07
CAMBRICON TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present disclosure is to provide a device and method for performing vector logic operations 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
  • A device for performing vector logic operations
  • A device for performing vector logic operations
  • A device for performing vector logic operations

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0039] According to an embodiment of the present disclosure, before step S3, it also includes:

[0040] Store vector logic operation instructions;

[0041] Acquire stored vector logic operation instructions;

[0042] Decoding the acquired vector logic operation instruction;

[0043] The decoded vector logic operation instructions are sequentially stored.

[0044] According to an embodiment of the present disclosure, before step S3, it also includes:

[0045] Determine whether the vector logic operation instruction and the previous vector logic operation instruction access the same vector, if so, store the vector logic operation instruction in a storage queue, and execute step S3 after the previous vector logic operation instruction is executed; Otherwise, directly execute step S3.

[0046] According to an implementation manner of the present disclosure, the method further includes storing the vector logic operation result.

[0047] According to an implementation manner of t...

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 present disclosure provides a device and method for performing vector logic operations, which are used to cooperate with a set of instruction sets to execute vector logic operations. The device includes a storage unit, a register unit, and a vector logic operation unit, and the storage unit stores a vector , the address of vector storage is stored in the register unit, the vector logic operation unit obtains the vector address in the register unit according to the supporting instruction, and then obtains the corresponding vector in the storage unit according to the vector address, and then performs vector logic according to the obtained vector operation to get the result of the operation. The disclosure temporarily stores the vector data involved in the calculation in a high-speed temporary storage memory, so that data of different widths can be more flexibly and effectively supported during the vector logic operation process, and the execution performance of applications involving a large number of vector logic operations is improved.

Description

technical field [0001] The present disclosure relates to an apparatus and method for performing vector logic operations. Background technique [0002] Among the existing applications in the computer field, applications related to vector operations are very common. Taking the mainstream algorithm machine learning algorithm in the current hot application field of artificial intelligence as an example, almost all existing classic algorithms contain a large number of vector logic operations related to the present disclosure. Vector logic operations refer to the four operations of vector inter-and, intra-and, inter-or and intra-or, where, for two vectors a=[a1,a2,…,an] and b=[b1,b2,…,bn] , the inter-AND operation is defined as: [a1&b1,a2&b2,…,an&bn]; the inner-AND operation of a vector a is defined as: a1&a2&…&an; the inter-vector OR operation is defined as: [a1||b1,a2||b2,…,an ||bn]; the inner or definition of vector a is: a1||a2||…||an. [0003] In the prior art, a known sol...

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 Patents(China)
IPC IPC(8): G06F9/30
CPCG06F9/30036G06F17/16G06F9/3838G06F9/30029G06F9/30043G06F9/3004G06N3/02
Inventor 罗韬支天刘少礼陈天石陈云霁
Owner CAMBRICON TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products