×

Arithmetic processing device and control method of the arithmetic processing device

  • US 10,642,622 B2
  • Filed: 10/13/2017
  • Issued: 05/05/2020
  • Est. Priority Date: 12/27/2016
  • Status: Active Grant
First Claim
Patent Images

1. An arithmetic processing device comprising:

  • a memory, a plurality of first register files, a plurality of second register files, and a plurality of arithmetic units, wherein each arithmetic unit has a plurality of product sum arithmetic circuits, and each product sum arithmetic circuit has an adder and a multiplier;

    the memory stores first data which has pieces of element data included in a first matrix and second data which has pieces of element data included in a second matrix;

    a first register file of the plurality of first register files is arranged for each of the arithmetic units and stores a first respective predetermined row of the first data that is stored in the memory, a second register file of the plurality of second register files is arranged for each of the arithmetic units and stores a second predetermined row of the second data that is stored in the memory;

    a pointer control circuit sets a position of a pointer that designates data that is stored in the first register files and the second register files;

    and each product-sum arithmetic circuitperforms a first operation which includes first acquiring different pieces of first element data that is designated by the pointer whose position is set by the pointer control circuit from a top row location of its first respective predetermined row, second acquiring same pieces of second element data that is designated by the pointer whose position is set by the pointer control circuit from a top row location of the second predetermined row, and performing a first multiply operation by using the first acquired first element data and the second acquired second element data, and performing a first add operation based on a result of the first multiply operation and a result of the previous first multiply operation,performs a second operation which includes repeat acquiring different pieces of first element data which is next sequential different data that is designated by the pointer that is moved by one from the first acquiring by the pointer control circuit in a row direction of its first respective predetermined row, repeat acquiring same pieces of second element data which is next sequential different data that is designated by the pointer that is moved by one from the first acquiring by the pointer control circuit in a row direction of the second predetermined row, performing a repeat multiply operation by using the repeat acquired first element data and the repeat acquired second element data, and performing a repeat add operation based on a result of the repeat multiply operation and a result of the previous repeat multiply operation,and repeats the second operation for each of the first element data in its first respective predetermined row of the first matrix and each of the second element data in the second predetermined row of the second matrix.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×