Unlock instant, AI-driven research and patent intelligence for your innovation.

Device and method for performing vector comparison operation

A technology for comparing operations and executing vectors. It is applied in the direction of machine execution devices, digital value comparison, complex mathematical operations, etc., and can solve problems such as inability to efficiently handle large-scale vector comparison operations.

Pending Publication Date: 2020-05-19
CAMBRICON TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In summary, the existing general-purpose processors and graphics processors cannot efficiently handle large-scale vector comparison operations.

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 performing vector comparison operation
  • Device and method for performing vector comparison operation
  • Device and method for performing vector comparison operation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0088] According to an embodiment of the present disclosure, the vector comparison operation device further includes: an instruction cache unit, configured to store a vector comparison operation instruction to be executed. The original instruction of vector comparison is also cached in the instruction cache unit during execution, and when an instruction is executed, the instruction will be committed.

[0089] figure 2 A schematic diagram of the format of the vector comparison operation instruction in the present disclosure is shown, such as figure 2 As shown, the vector comparison operation instruction includes an operation code and a plurality of operation domains, wherein the operation code is used to indicate which vector comparison operation to perform, such as comparison operations such as greater than or equal to, greater than, equal to, not equal to, less than, and less than or equal to; The operation field is used to store scalar data related to vector comparison op...

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 comparison operation. In the embodiment of the invention, when a vector comparison operation is executed, the dependency relationship between the instructions needs to be determined. After the dependency relationship of the instructions is determined, a comparison operation of the vector is performed based on the dependency relationship. By utilizing the method, the complete process of carrying out the vector comparison operation instruction through a customized hardware circuit is realized, i.e., the vector comparison operation can be realized through one vector comparison instruction.

Description

[0001] Related Application Citations [0002] This application is a divisional application of an invention patent application with the application number 201610266782.2, the application date is April 26, 2016, and the invention title is "A device and method for performing vector comparison operations". technical field [0003] The present disclosure relates to the field of computer instruction operations, and in particular to a device and method for performing vector comparison operations. Background technique [0004] Vector comparison, that is, for two vectors with the same length, the corresponding elements are compared, and the obtained comparison results form a new output vector. In the field of deep learning, there is a need to perform size comparison operations on two vectors. In the restricted Boltzmann machine of the artificial neural network, there is such a step that requires sampling a vector composed of a group of neurons, that is, in the vector Each neuron is...

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): G06F7/02G06F17/16
CPCG06F7/02G06F17/16G06F9/30021G06F9/30036G06F9/3016G06F15/7839G06N3/04
Inventor 韩栋张潇刘少礼陈天石陈云霁
Owner CAMBRICON TECH CO LTD