US11157593B2 - Apparatus and methods for combining vectors - Google Patents
Apparatus and methods for combining vectors Download PDFInfo
- Publication number
- US11157593B2 US11157593B2 US16/171,279 US201816171279A US11157593B2 US 11157593 B2 US11157593 B2 US 11157593B2 US 201816171279 A US201816171279 A US 201816171279A US 11157593 B2 US11157593 B2 US 11157593B2
- Authority
- US
- United States
- Prior art keywords
- vector
- instruction
- circuit
- controller
- control value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/16—Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/76—Architectures of general purpose stored program computers
- G06F15/80—Architectures of general purpose stored program computers comprising an array of processing units with common control, e.g. single instruction multiple data processors
- G06F15/8053—Vector processors
- G06F15/8061—Details on data memory access
- G06F15/8069—Details on data memory access using a cache
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/76—Architectures of general purpose stored program computers
- G06F15/80—Architectures of general purpose stored program computers comprising an array of processing units with common control, e.g. single instruction multiple data processors
- G06F15/8053—Vector processors
- G06F15/8076—Details on data register access
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/30003—Arrangements for executing specific machine instructions
- G06F9/30007—Arrangements for executing specific machine instructions to perform operations on data operands
- G06F9/30032—Movement instructions, e.g. MOVE, SHIFT, ROTATE, SHUFFLE
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/30003—Arrangements for executing specific machine instructions
- G06F9/30007—Arrangements for executing specific machine instructions to perform operations on data operands
- G06F9/30036—Instructions to perform operations on packed data, e.g. vector, tile or matrix operations
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/38—Concurrent instruction execution, e.g. pipeline or look ahead
- G06F9/3885—Concurrent instruction execution, e.g. pipeline or look ahead using a plurality of independent parallel functional units
- G06F9/3887—Concurrent instruction execution, e.g. pipeline or look ahead using a plurality of independent parallel functional units controlled by a single instruction for multiple data lanes [SIMD]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/0499—Feedforward networks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/06—Physical realisation, i.e. hardware implementation of neural networks, neurons or parts of neurons
- G06N3/063—Physical realisation, i.e. hardware implementation of neural networks, neurons or parts of neurons using electronic means
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Definitions
- Multilayer neural networks are widely applied to the fields such as pattern recognition, image processing, functional approximation and optimal computation.
- multilayer artificial neural networks have received increasing attention by academic and industrial communities. More specifically, combining two vectors may be performed frequently in deep learning processes in MMNs.
- a known method to combine vectors of a multilayer artificial neural network is to use a general-purpose processor.
- one of the defects of the method is low performance of a single general-purpose processor which cannot meet performance requirements for usual multilayer neural network operations.
- multiple general-purpose processors execute concurrently, the intercommunication among them also becomes a performance bottleneck.
- GPU graphics processing unit
- SIMD single-instruction-multiple-data
- the example apparatus may include a direct memory access unit configured to receive a first vector, a second vector, and a controller vector.
- the first vector, the second vector, and the controller vector may include elements indexed in accordance with a same one-dimensional data structure.
- the example apparatus may further include a computation module configured to select one of the one or more control values, determine that the selected control value satisfies a predetermined condition, and select one of the one or more first elements that corresponds to the selected control value in the one-dimensional data structure as an output element based on a determination that the selected control value satisfies the predetermined condition.
- the example method may include receiving, by a direct memory access unit, a first vector, a second vector, and a controller vector, selecting, by a computation module, one of the one or more control values; determining, by the computation module, that the selected control value satisfies a predetermined condition; selecting, by the computation module, one of the one or more first elements that corresponds to the selected control value in the one-dimensional data structure as an output element based on a determination that the selected control value satisfies the predetermined condition.
- FIG. 1 illustrates a block diagram of an example neural network acceleration processor by which vector combination may be implemented in a neural network
- FIG. 2 illustrates an example vector combination of two vectors that may be performed by the example neural network acceleration processor
- FIG. 3 illustrates an example computation module in the example neural network acceleration processor by which vector combination may be implemented in a neural network
- FIG. 4 illustrates flow chart of an example method for vector combination in a neural network.
- a combination of two vectors of a same length may be performed in a neural network.
- a vector may refer to one or more values formatted in a one-dimensional data structure. The values included in a vector may be referred to as elements.
- a first vector may be represented as (A(1), A(2) . . . A(n)). The first vector may be denoted as “first vector A” hereafter.
- a second vector may be represented as (B(1), B(2) . . . B(n)). The second vector may be denoted as “second vector B” hereafter.
- the first vector A and the second vector B each may include same number of elements, e.g., n.
- FIG. 1 illustrates a block diagram of an example neural network acceleration processor by which vector combination may be implemented in a neural network.
- the example neural network acceleration processor 100 may include a controller unit 106 , a direct memory access unit 102 , a computation module 110 , and a vector caching unit 112 . Any of the above-mentioned components or devices may be implemented by a hardware circuit (e.g., application specific integrated circuit (ASIC), Coarse-grained reconfigurable architectures (CGRAs), field-programmable gate arrays (FPGAs), analog circuits, memristor, etc.).
- ASIC application specific integrated circuit
- CGRAs Coarse-grained reconfigurable architectures
- FPGAs field-programmable gate arrays
- analog circuits memristor, etc.
- a vector combination instruction may originate from an instruction storage device 134 to the controller unit 106 .
- An instruction obtaining module 132 may be configured to obtain a vector combination instruction from the instruction storage device 134 and transmit the instruction to a decoding module 130 .
- the decoding module 130 may be configured to decode the instruction.
- the instruction may include one or more operation fields that indicate parameters for executing the instruction.
- the parameters may refer to identification numbers of different registers (“register ID” hereinafter) in the instruction register 126 .
- register ID identification numbers of different registers
- the neural network acceleration processor 100 may modify the instruction without receiving new instructions.
- the decoded instruction may be transmitted by the decoding module 130 to an instruction queue module 128 .
- the one or more operation fields may store immediate values such as addresses in the memory 101 and a scalar value, rather than the register IDs.
- the instruction queue module 128 may be configured to temporarily store the received instruction and/or one or more previously received instructions. Further, the instruction queue module 128 may be configured to retrieve information according to the register IDs included in the instruction from the instruction register 126 .
- the instruction queue module 128 may be configured to retrieve information corresponding to operation fields in the instruction from the instruction register 126 .
- Information for the operation fields in a vector combination instruction may include an address of the first vector A, an address of the second vector B, a length (or a bit length) of the first vector A and the second vector B, an address of a controller vector, and an address of an output vector in the memory 101 .
- the instruction may be sent to a dependency processing unit 124 .
- the dependency processing unit 124 may be configured to determine whether the instruction has a dependency relationship with the data of the previous instruction that is being executed. This instruction may be stored in the storage queue module 122 until it has no dependency relationship on the data with the previous instruction that has not finished executing. If the dependency relationship does not exist, the controller unit 106 may be configured to decode the instruction into micro-instructions for controlling operations of other modules including the direct memory access unit 102 and the computation module 110 .
- the direct memory access unit 102 may be configured to access an external address range (e.g., in an external storage device such as a memory 101 ) and directly read or write vector data into respective caching units in the computation module 110 in accordance with the received instruction.
- an external address range e.g., in an external storage device such as a memory 101
- directly read or write vector data into respective caching units in the computation module 110 in accordance with the received instruction.
- a caching unit may refer to an on-chip caching unit integrated in the neural network acceleration processor 100 , rather than other storage devices in memory 101 or other external devices.
- the on-chip caching unit may be implemented as a register file, an on-chip buffer, an on-chip Static Random Access Memory (SRAM), or other types of on-chip storage devices that may provide higher access speed than the external memory.
- the instruction register 126 may be implemented as a scratchpad memory, e.g., Dynamic random-access memory (DRAM), embedded DRAM (eDRAM), memristor, 3D-DRAM, non-volatile memory, etc.
- the computation module 110 may be configured to determine each of the control values included in the controller vector satisfies a predetermined vector. For example, the computation module 110 may be configured to select a control value from the controller vector and determine if the selected control value is a binary value that indicates true, e.g., 1. If the control value is 1, the computation module 110 may be configured to select a corresponding element in the first vector that is associated with a same index as the control value. If the control value is 0, the computation module 110 may be configured to select a corresponding element in the second vector that is associated with the same index. The selected elements may be combined to generate an output vector as an operation result of the vector combination operation.
- FIG. 2 illustrates an example vector combination of two vectors that may be performed by the example neural network acceleration processor 100 .
- a controller vector may include one or more controller values denoted respectively as C(1), C(2), . . . C(n).
- the first vector A may include one or more first elements denoted as A(1), A(2), . . . A(n) and the second vector B may include one or more second elements denoted as B(1), B(2), . . . B(n).
- the computation module 110 may be configured to determine if the control value associated with a same index, e.g., C(i), satisfies a predetermined condition. For example, the computation module 110 may be configured to determine if C(i) is a binary value that indicates true, e.g., 1. If the control value C(i) is 1, the computation module 110 may be configured to select a corresponding element in the first vector, e.g., A(i), as the output element O(i). If the control value is 0, the computation module 110 may be configured to select a corresponding element in the second vector B, e.g., B(i), as the output element O(i). Other output elements may be determined similarly and combined into the output vector.
- C(i) a binary value that indicates true, e.g., 1. If the control value C(i) is 1, the computation module 110 may be configured to select a corresponding element in the first vector, e.g., A(i), as the output element O(i). If the control value is
- FIG. 3 illustrates an example computation module 110 in the example neural network acceleration processor 100 by which vector combination may be implemented in a neural network.
- the example computation module 110 may include a computation unit 302 , a data dependency relationship determination unit 304 , a neuron caching unit 306 .
- the computation unit 302 may further include a data controller 310 , a merger 312 , and a determiner 314 .
- the example computation module 110 is not limited to the structure described herein in accordance with FIG. 3 .
- the data dependency relationship determination unit 304 may be configured to perform data access operations (e.g., reading or writing operations) on the caching units including the neuron caching unit 306 during the computation process.
- the data dependency relationship determination unit 304 may be configured to prevent conflicts in reading and writing of the data in the caching units.
- the data dependency relationship determination unit 304 may be configured to determine whether there is dependency relationship in terms of data between a micro-instruction which to be executed and a micro-instruction being executed. If no dependency relationship exists, the micro-instruction may be allowed to be executed; otherwise, the micro-instruction may not be allowed to be executed until all micro-instructions on which it depends have been executed completely.
- the dependency relationship may be determined when a target operation range of the micro-instruction to be executed overlaps a target operation range of a micro-instruction being executed.
- all micro-instructions sent to the data dependency relationship determination unit 304 may be stored in an instruction queue within the data dependency relationship determination unit 304 .
- the instruction queue may indicate the relative priorities of the stored micro-instructions. In the instruction queue, if the target operation range of reading data by a reading instruction conflicts with or overlaps the target operation range of writing data by a writing instruction of higher priority in the front of the instruction queue, then the reading instruction may not be executed until the writing instruction is executed.
- the neuron caching unit 306 may be configured to store the elements in the first vector A, the second vector B, and the controller vector.
- the computation unit 302 may be configured to receive the micro-instructions decoded from the vector comparison instruction from the controller unit 106 .
- the data controller 310 may be configured to select a control value in the controller vector.
- the data controller 310 may be configured sequentially select the control values from C(1) to C(n).
- the determiner 314 may be configured to determine if the control value satisfies a predetermined condition, e.g., if the control value is 1. If the control value is 1, the computation module 110 may be configured to select a corresponding element in the first vector as the output element. If the control value is 0, the computation module 110 may be configured to select a corresponding element in the second vector B as the output element.
- a predetermined condition e.g., if the control value is 1. If the control value is 1, the computation module 110 may be configured to select a corresponding element in the first vector as the output element. If the control value is 0, the computation module 110 may be configured to select a corresponding element in the second vector B as the output element.
- the combiner 312 may then be configured to combine the output elements as an output vector.
- FIG. 4 illustrates flow chart of an example method 400 for vector combination in a neural network.
- the method 400 may be performed by one or more components of the apparatus of FIGS. 1 and 3 .
- the example method 400 may include receiving, by a controller unit, a vector combination instruction that includes addresses of a first vector, a second vector, and a controller vector.
- the controller unit 106 may be configured to receive a vector combination instruction from the instruction storage device 134 .
- a vector combination instruction may include an address of the first vector A, an address of the second vector B, a length (or a bit length) of the first vector A and the second vector B, an address of a controller vector, and an address of an output vector in the memory 101 .
- the first vector A and the second vector B may be of different lengths.
- the controller unit 106 may be configured to supplement one or more bits of zero values to the shorter vector between the first vector and the second vector B such that the supplemented vector may be of a same length as the other vector.
- the example method 400 may include receiving, by a computation module, the first vector, the second vector, and the controller vector retrieved based on the addresses included in the vector combination instruction.
- the computation module 110 may be configured to receive the first vector, the second vector, and the controller vector via the direct memory access unit 102 from the memory 101 .
- the first vector A may include one or more first elements denoted as A(1), A(2), . . . A(n) and the second vector B may include one or more second elements denoted as B(1), B(2), . . . B(n).
- the controller vector may include one or more controller values denoted respectively as C(1), C(2), . . . C(n).
- the example method 400 may include selecting, by a computation module, one of the one or more control values.
- the data controller 310 of the computation unit 302 may be configured select a control value, e.g., C(i).
- the example method 400 may include determining, by the computation module, that the selected control value satisfies a predetermined condition.
- the determiner 314 of the computation unit 302 may be configured to determine if the control value satisfies a predetermined condition.
- the determiner 314 may be configured to determine if C(i) is a binary value that indicates true, e.g., 1.
- the example method 400 may include selecting, by the computation module, one of the one or more first elements that corresponds to the selected control value in the one-dimensional data structure as an output element based on a determination that the selected control value satisfies the predetermined condition. For example, if the determiner 314 determines that the control value C(i) is 1, the computation module 110 may be configured to select a corresponding element in the first vector, e.g., A(i), as the output element O(i). If the control value is 0, the computation module 110 may be configured to select a corresponding element in the second vector B, e.g., B(i), as the output element O(i). Other output elements may be determined similarly and combined into the output vector.
- process logic including hardware (for example, circuit, specific logic etc.), firmware, software (for example, a software being externalized in non-transitory computer-readable medium), or the combination of the above two.
- process logic including hardware (for example, circuit, specific logic etc.), firmware, software (for example, a software being externalized in non-transitory computer-readable medium), or the combination of the above two.
- the term “or” is intended to mean an inclusive “or” rather than an exclusive “or.” That is, unless specified otherwise, or clear from the context, the phrase “X employs A or B” is intended to mean any of the natural inclusive permutations. That is, the phrase “X employs A or B” is satisfied by any of the following instances: X employs A; X employs B; or X employs both A and B.
- the articles “a” and “an” as used in this application and the appended claims should generally be construed to mean “one or more” unless specified otherwise or clear from the context to be directed to a singular form.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- Computing Systems (AREA)
- Data Mining & Analysis (AREA)
- Life Sciences & Earth Sciences (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Computer Hardware Design (AREA)
- Mathematical Optimization (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Pure & Applied Mathematics (AREA)
- Molecular Biology (AREA)
- General Health & Medical Sciences (AREA)
- Evolutionary Computation (AREA)
- Artificial Intelligence (AREA)
- Computational Linguistics (AREA)
- Databases & Information Systems (AREA)
- Algebra (AREA)
- Neurology (AREA)
- Advance Control (AREA)
- Complex Calculations (AREA)
- Executing Machine-Instructions (AREA)
Abstract
Description
Claims (28)
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610267021.9 | 2016-04-26 | ||
| CN201610267021.9A CN107315575B (en) | 2016-04-26 | 2016-04-26 | An apparatus and method for performing vector merge operations |
| PCT/CN2016/080963 WO2017185385A1 (en) | 2016-04-26 | 2016-05-04 | Apparatus and method for executing vector merging operation |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/080963 Continuation-In-Part WO2017185385A1 (en) | 2016-04-26 | 2016-05-04 | Apparatus and method for executing vector merging operation |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| US20190065435A1 US20190065435A1 (en) | 2019-02-28 |
| US11157593B2 true US11157593B2 (en) | 2021-10-26 |
Family
ID=60161711
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US16/171,279 Active US11157593B2 (en) | 2016-04-26 | 2018-10-25 | Apparatus and methods for combining vectors |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US11157593B2 (en) |
| CN (2) | CN107315575B (en) |
| WO (1) | WO2017185385A1 (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107315575B (en) | 2016-04-26 | 2020-07-31 | 中科寒武纪科技股份有限公司 | An apparatus and method for performing vector merge operations |
| CN110163350B (en) * | 2018-02-13 | 2021-06-08 | 上海寒武纪信息科技有限公司 | A computing device and method |
| CN110163353B (en) * | 2018-02-13 | 2021-05-11 | 上海寒武纪信息科技有限公司 | Computing device and method |
| CN108960418A (en) * | 2018-08-08 | 2018-12-07 | 上海寒武纪信息科技有限公司 | Processing with Neural Network device and its method for executing matrix-vector multiplication instruction |
| CN111325331B (en) * | 2018-12-14 | 2022-12-09 | 上海寒武纪信息科技有限公司 | Computing method, device and related products |
| CN111353595A (en) * | 2018-12-20 | 2020-06-30 | 上海寒武纪信息科技有限公司 | Operation method, device and related product |
| CN110851787B (en) * | 2020-01-14 | 2020-05-08 | 中科寒武纪科技股份有限公司 | Merging instruction processing method and device, electronic equipment and storage medium |
Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1349159A (en) | 2001-11-28 | 2002-05-15 | 中国人民解放军国防科学技术大学 | Microprocessor vector processing method |
| CN101833468A (en) | 2010-04-28 | 2010-09-15 | 中国科学院自动化研究所 | Method for generating vector processing instruction set structure in high performance computing system |
| CN102156637A (en) | 2011-05-04 | 2011-08-17 | 中国人民解放军国防科学技术大学 | Vector crossing multithread processing method and vector crossing multithread microprocessor |
| CN102495724A (en) | 2011-11-04 | 2012-06-13 | 杭州中天微系统有限公司 | Data processor for improving storage instruction execution efficiency |
| US20150143086A1 (en) * | 2013-11-15 | 2015-05-21 | Qualcomm Incorporated | VECTOR PROCESSING ENGINES (VPEs) EMPLOYING FORMAT CONVERSION CIRCUITRY IN DATA FLOW PATHS BETWEEN VECTOR DATA MEMORY AND EXECUTION UNITS TO PROVIDE IN-FLIGHT FORMAT-CONVERTING OF INPUT VECTOR DATA TO EXECUTION UNITS FOR VECTOR PROCESSING OPERATIONS, AND RELATED VECTOR PROCESSOR SYSTEMS AND METHODS |
| US20150220833A1 (en) * | 2014-01-31 | 2015-08-06 | Google Inc. | Generating vector representations of documents |
| US20150363688A1 (en) * | 2014-06-13 | 2015-12-17 | Microsoft Corporation | Modeling interestingness with deep neural networks |
| CN105229599A (en) | 2013-03-15 | 2016-01-06 | 甲骨文国际公司 | Efficient hardware instructions for SIMD processors |
| US20170011257A1 (en) * | 2015-07-08 | 2017-01-12 | University Of Central Florida Research Foundation, Inc. | Supervised facial recognition system and method |
| US20170103338A1 (en) * | 2015-10-08 | 2017-04-13 | Facebook, Inc. | Deep translations |
| WO2017185385A1 (en) | 2016-04-26 | 2017-11-02 | 北京中科寒武纪科技有限公司 | Apparatus and method for executing vector merging operation |
Family Cites Families (15)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2531760B2 (en) * | 1988-10-11 | 1996-09-04 | 日本電気株式会社 | Vector processor |
| US6282634B1 (en) * | 1998-05-27 | 2001-08-28 | Arm Limited | Apparatus and method for processing data having a mixed vector/scalar register file |
| CN101299185B (en) * | 2003-08-18 | 2010-10-06 | 上海海尔集成电路有限公司 | A Microprocessor Structure Based on CISC Structure |
| GB2470782B (en) * | 2009-06-05 | 2014-10-22 | Advanced Risc Mach Ltd | A data processing apparatus and method for handling vector instructions |
| JP5573134B2 (en) * | 2009-12-04 | 2014-08-20 | 日本電気株式会社 | Vector computer and instruction control method for vector computer |
| CN101957744B (en) * | 2010-10-13 | 2013-07-24 | 北京科技大学 | Hardware multithreading control method for microprocessor and device thereof |
| CN102495719B (en) * | 2011-12-15 | 2014-09-24 | 中国科学院自动化研究所 | A vector floating point operation device and method |
| CN104011662B (en) * | 2011-12-23 | 2017-05-10 | 英特尔公司 | Instructions and logic to provide vector blending and permutation functionality |
| CN104081341B (en) * | 2011-12-23 | 2017-10-27 | 英特尔公司 | Instructions for Element Offset Computation in Multidimensional Arrays |
| CN102750133B (en) * | 2012-06-20 | 2014-07-30 | 中国电子科技集团公司第五十八研究所 | 32-Bit triple-emission digital signal processor supporting SIMD |
| US9384168B2 (en) * | 2013-06-11 | 2016-07-05 | Analog Devices Global | Vector matrix product accelerator for microprocessor integration |
| US9684509B2 (en) * | 2013-11-15 | 2017-06-20 | Qualcomm Incorporated | Vector processing engines (VPEs) employing merging circuitry in data flow paths between execution units and vector data memory to provide in-flight merging of output vector data stored to vector data memory, and related vector processing instructions, systems, and methods |
| CN104461449B (en) * | 2014-11-14 | 2018-02-27 | 中国科学院数据与通信保护研究教育中心 | Large integer multiplication implementation method and device based on vector instruction |
| CN104699458A (en) * | 2015-03-30 | 2015-06-10 | 哈尔滨工业大学 | Fixed-point vector processor and vector data access control method |
| CN105373367B (en) * | 2015-10-29 | 2018-03-02 | 中国人民解放军国防科学技术大学 | The vectorial SIMD operating structures for supporting mark vector to cooperate |
-
2016
- 2016-04-26 CN CN201610267021.9A patent/CN107315575B/en active Active
- 2016-04-26 CN CN202010604280.2A patent/CN111651201B/en active Active
- 2016-05-04 WO PCT/CN2016/080963 patent/WO2017185385A1/en not_active Ceased
-
2018
- 2018-10-25 US US16/171,279 patent/US11157593B2/en active Active
Patent Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1349159A (en) | 2001-11-28 | 2002-05-15 | 中国人民解放军国防科学技术大学 | Microprocessor vector processing method |
| CN101833468A (en) | 2010-04-28 | 2010-09-15 | 中国科学院自动化研究所 | Method for generating vector processing instruction set structure in high performance computing system |
| CN102156637A (en) | 2011-05-04 | 2011-08-17 | 中国人民解放军国防科学技术大学 | Vector crossing multithread processing method and vector crossing multithread microprocessor |
| CN102495724A (en) | 2011-11-04 | 2012-06-13 | 杭州中天微系统有限公司 | Data processor for improving storage instruction execution efficiency |
| CN105229599A (en) | 2013-03-15 | 2016-01-06 | 甲骨文国际公司 | Efficient hardware instructions for SIMD processors |
| US20150143086A1 (en) * | 2013-11-15 | 2015-05-21 | Qualcomm Incorporated | VECTOR PROCESSING ENGINES (VPEs) EMPLOYING FORMAT CONVERSION CIRCUITRY IN DATA FLOW PATHS BETWEEN VECTOR DATA MEMORY AND EXECUTION UNITS TO PROVIDE IN-FLIGHT FORMAT-CONVERTING OF INPUT VECTOR DATA TO EXECUTION UNITS FOR VECTOR PROCESSING OPERATIONS, AND RELATED VECTOR PROCESSOR SYSTEMS AND METHODS |
| US20150220833A1 (en) * | 2014-01-31 | 2015-08-06 | Google Inc. | Generating vector representations of documents |
| US20150363688A1 (en) * | 2014-06-13 | 2015-12-17 | Microsoft Corporation | Modeling interestingness with deep neural networks |
| US20170011257A1 (en) * | 2015-07-08 | 2017-01-12 | University Of Central Florida Research Foundation, Inc. | Supervised facial recognition system and method |
| US20170103338A1 (en) * | 2015-10-08 | 2017-04-13 | Facebook, Inc. | Deep translations |
| WO2017185385A1 (en) | 2016-04-26 | 2017-11-02 | 北京中科寒武纪科技有限公司 | Apparatus and method for executing vector merging operation |
Non-Patent Citations (15)
| Title |
|---|
| 201610267021.9—Office Action, dated Aug. 2, 2019, 10 pages. (no English translation). |
| CN201610261021.9, Official Action dated Jan. 22, 2020, 7 Pages (No English translation). |
| D. Liu, et al., "PuDianNao: A Polyvalent Machine Learning Accelerator", ASPLOS '15 Proceedings of the Twentieth International Conference on Architectural Support for Programming Languages and Operating Systems, Mar. 14, 2015, pp. 369-381. |
| Gehringer, G.Q. Kenny, CSC 506—Lecture 7—Vector Processors. Summer 1999 (Year: 1999). * |
| PCT/CN2016/080963—International Search Report, dated Jan. 24, 2017, 9 pages. (no English translation). |
| Professor David A. Patterson, Computer Science 252—Lecture 6—Vector Processing, Spring 1998 (Year: 1998). * |
| S. Liu, et al., "Cambricon: An Instruction Set Architecture for Neural Networks", 2016 ACM/IEEE 43rd Annual International Symposium on Computer Architecture, Oct. 12, 2016, pp. 393-405. |
| S. Zhang, et al., "Cambricon-X" An Accelerator for Sparse Neural Networks, The 49th Annual IEEE/ACM International Symposium on Microarchitecture Article No. 20, Oct. 15, 2016, 12 pages. |
| T. Chen, et al., "A Small-Footprint Accelerator for Large-Scale Neural Networks", ACM Transactions on Computer Systems, vol. 33, No. 2, Article 6, May 2015, 27 pages. |
| T. Chen, et al., "DianNao: A Small-Footprint High-Throughput Accelerator for Ubiquitous Machine-Learning", ASPLOS '14, Proceedings of the 19th international conference on Architectural support for programming languages and operating systems, Feb. 24, 2014, pp. 269-283. |
| T. Luo, et al., "DaDianNao: A Neural Network Supercomputer", IEEE Transaction on Computers, vol. 66, No. 1, Jan. 2017, pp. 73-88. |
| Y. Chen, et al., "DaDianNao: A Machine-Learning Supercomputer", 2014 47th Annual IEEE/ACM International Symposium on Microarchitecture, Dec. 13, 2014, pp. 609-622. |
| Y. Chen, et al., "DianNao Family: Energy-Efficient Hardware Accelerators for Machine Learning", Communications of the ACM, vol. 59, No. 11, Nov. 2016, pp. 105-112. |
| Z. Du, et al., "An Accelerator for High Efficient Vision Processing", IEEE Transactions on Computer-aided Design of Integrated Circuits and System, vol. 36, No. 2, Feb. 2017, pp. 227-240. |
| Z. Du, et al., "ShiDianNao: Shifting Vision Processing Closer to the Sensor", ISCA '15 Proceedings of the 42nd Annual International Symposium on Computer Architecture, Jun. 13, 2015, pp. 92-104. |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111651201B (en) | 2023-06-13 |
| US20190065435A1 (en) | 2019-02-28 |
| WO2017185385A1 (en) | 2017-11-02 |
| CN107315575B (en) | 2020-07-31 |
| CN111651201A (en) | 2020-09-11 |
| CN107315575A (en) | 2017-11-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10860316B2 (en) | Apparatus and methods for generating dot product | |
| US11157593B2 (en) | Apparatus and methods for combining vectors | |
| US10853069B2 (en) | Apparatus and methods for comparing vectors | |
| US20190147015A1 (en) | Apparatus and methods for matrix addition and subtraction | |
| US11507640B2 (en) | Apparatus and methods for vector operations | |
| US10761991B2 (en) | Apparatus and methods for circular shift operations | |
| US10534841B2 (en) | Appartus and methods for submatrix operations | |
| US11080049B2 (en) | Apparatus and methods for matrix multiplication | |
| US11126429B2 (en) | Apparatus and methods for bitwise vector operations | |
| US11409524B2 (en) | Apparatus and methods for vector operations | |
| US10592801B2 (en) | Apparatus and methods for forward propagation in convolutional neural networks | |
| US10831861B2 (en) | Apparatus and methods for vector operations | |
| US20190236442A1 (en) | Operation unit, method and device capable of supporting operation data of different bit widths | |
| US20190065938A1 (en) | Apparatus and Methods for Pooling Operations | |
| US11263530B2 (en) | Apparatus for operations at maxout layer of neural networks | |
| US11501158B2 (en) | Apparatus and methods for generating random vectors |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FEPP | Fee payment procedure |
Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
| FEPP | Fee payment procedure |
Free format text: ENTITY STATUS SET TO SMALL (ORIGINAL EVENT CODE: SMAL); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: APPLICATION DISPATCHED FROM PREEXAM, NOT YET DOCKETED |
|
| AS | Assignment |
Owner name: CAMBRICON TECHNOLOGIES CORPORATION LIMITED, CHINA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:LI, ZHEN;ZHANG, XIAO;LIU, SHAOLI;AND OTHERS;SIGNING DATES FROM 20180622 TO 20180626;REEL/FRAME:047854/0571 |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION |
|
| FEPP | Fee payment procedure |
Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: NON FINAL ACTION MAILED |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT VERIFIED |
|
| STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
| MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 4 |