Data processing apparatus and method
AssigneeShanghai Cambricon Information Technology Co., Ltd.
InventorsShaoli Liu, Shengyuan Zhou, Zidong Du
Life of this patent
Estimating the term…
Abstract
The disclosure provides a data processing device and method. The data processing device may include: a task configuration information storage unit and a task queue configuration unit. The task configuration information storage unit is configured to store configuration information of tasks. The task queue configuration unit is configured to configure a task queue according to the configuration information stored in the task configuration information storage unit. According to the disclosure, a task queue may be configured according to the configuration information.
Claims19
A computation device comprising:
- a control module;
- and
- an operation module comprising multiple operation units, wherein
- the control module is configured to send an instruction to the multiple operation units and control data transmit between the operation units,
- wherein the operation module includes N*N operation units and an ALU, and
- wherein the N*N operation units are arranged in an array with N rows and N columns, the operation units in a first column are configured to receive the data to be computed from the storage module, to complete square operations, and to transmit square values to right and right diagonally adjacent operation units, the operation units in a first row are configured to receive the data to be computed from the storage module, to complete square operations, and to transmit square values to the right diagonally adjacent operation units, the operation units in an Nth column are configured to receive data from left diagonal and the left operation units and complete accumulation, and the ALU is configured to receive the computational result transmitted by an (N*N)th operation unit and execute an exponential operation.
A computation method comprising:
- sending, by a control module, an instruction;
- and
- receiving, by multiple operation units of an operation module, the instruction, and performing, by the multiple operation units of an operation module, data transmit according to the instruction,
- wherein the operation units of the operation module in a first column receive data to be computed from the storage module, complete square operations and transmit square values to one or more right and right lower adjacent operation units, the operation units of the operation module in a first row receive the data to be computed from the storage module, complete square operations and transmit square values to the right lower adjacent operation units, and the operation units of the operation module in an Nth column receive data from one or more left upper and the left operation units, and complete accumulation, wherein N is a positive integer.
An electronic device, comprising:
- a computation device that includes:
- a control module;
- and
- an operation module comprising multiple operation units, wherein the control module is configured to send an instruction to the multiple operation units and control data transmit between the operation units,
- wherein the operation module includes N*N operation units and an ALU, and
- wherein the N*N operation units are arranged in an array with N rows and N columns, the operation units in a first column are configured to receive the data to be computed from the storage module, to complete square operations, and to transmit square values to right and right diagonally adjacent operation units, the operation units in a first row are configured to receive the data to be computed from the storage module, to complete square operations, and to transmit square values to the right diagonally adjacent operation units, the operation units in an Nth column are configured to receive data from left diagonal and the left operation units and complete accumulation, and the ALU is configured to receive the computational result transmitted by an (N*N)th operation unit and execute an exponential operation.
Dependencies are inferred from the claim text.