The invention belongs to the technical field of
data processing. The invention discloses a
matrix multiplication calculation task
processing system, method and device, a storage medium, a program product and a
chip, and the
system comprises a storage module which is used for storing a preset weight matrix in advance; the linear transformation control module comprises a finite-state
machine used for
matrix multiplication operation scheduling and is used for generating an input request
signal so that the
matrix multiplication calculation task
processing system can receive an input matrix; the operation module is used for executing matrix multiplication operation on the input matrix and a preset weight matrix to obtain a matrix multiplication operation result and generate an output matrix; and the data flow control module is used for controlling a plurality of groups of data flows formed by the input data in the input matrix according to rows to sequentially enter the operation module according to the input request
signal until all the data in the input matrix execute and complete the matrix multiplication operation. The problems that in the prior art, a matrix multiplication accelerator lacks flexibility in a
linear layer implementation task of
artificial intelligence hardware, the
data migration cost is high, and the energy efficiency ratio is low are solved, and the method is suitable for self-defined extension based on an RISC-V
instruction set architecture, can be used as a
coprocessor of an RISC-V processor, and can be used as a
coprocessor of the RISC-V processor. And
linear layer calculation in the neural network is accelerated, especially in an
artificial intelligence task, the calculation efficiency can be remarkably improved, the
power consumption can be reduced, and the real-
time processing requirement can be met.