Back to results
US 10,901,815 B2Granted
Data sharing system and data sharing method therefor
AssigneeShanghai Cambricon Information Technology Co., Ltd.
InventorsTianshi Chen, Shengyuan Zhou, Shaoli Liu
Life of this patent
Estimating the term…
Abstract
A data sharing system may include a storage module and at least two processing modules. The at least two processing modules may share the storage module and the at least two processing modules communicate to implement data sharing. A data sharing method for the data sharing system is provided. According to the disclosure, a storage communication overhead may be reduced, and a data access delay may be effectively reduced.
Claims10
A data sharing system, comprising:
- a first processing module that includes a first internal storage unit;
- and
- a second processing module configured to transmit, to the first processing module, a request signal that includes a data address in the first internal storage unit,
- wherein the first processing module is configured to:
- retrieve, upon receiving the request signal, data at the data address in the first internal storage unit, and
- transmit the retrieved data to the second processing module;
- wherein each of the first processing module and the second processing module includes a physical processor that includes an artificial neural network processor configured to perform artificial neural network forward computations,
- wherein the artificial neural network processor includes an instruction caching unit configured to read an instruction from a Direct Memory Access (DMA) and cache the read instruction,
- wherein the artificial neural network processor includes a controlling unit configured to read the instruction from the instruction caching unit and decode the instruction into one or more microinstructions,
- wherein the artificial neural network processor further includes:
- a primary computation module configured to transmit an input neuron vector of a current layer to one or more secondary computation modules via an H tree module for reverse training of each layer of a neural network,
- wherein the H tree module is configured to merge one or more output neuron values from the one or more secondary computation modules into an intermediate result vector, and
- wherein the primary computation module is further configured to generate a final result vector based on the intermediate result vector.
10 more elements
A method for data sharing, comprising:
- transmitting, by a second processing module to a first processing module, a request signal that includes a data address in a first internal storage unit in the first processing module,
- wherein each of the first processing module and the second processing module includes a physical processor that includes an artificial neural network processor configured to perform artificial neural network forward computations and
- wherein the artificial neural network processor includes an instruction caching unit configured to read an instruction from a Direct Memory Access (DMA) and cache the read instruction;
- retrieving, by the first processing module, upon receiving the request signal, data at the data address in the first internal storage unit;
- transmitting, by the first processing module, the retrieved data to the second processing module;
- reading, by a controlling unit of the artificial neural network processor, the instruction from the instruction caching unit and decode the instruction into one or more microinstructions;
- transmitting, by a primary computation module of the artificial neural network processor, an input neuron vector of a current layer to one or more secondary computation modules via an H tree module for reverse training of each layer of a neural network;
- merging, by the H tree module, one or more output neuron values from the one or more secondary computation modules into an intermediate result vector;
- and
- generating, by the primary computation module, a final result vector based on the intermediate result vector.
7 more elements
Dependencies are inferred from the claim text.