The invention discloses a
tensor core-based method for accelerating arbitrary precision
sparse matrix multiplication and addition operation, which comprises the following steps of: aiming at an architecture of a
tensor core on A100 and a
programming model thereof, combining program characteristics of
deep learning parallel processing sparse matrix, combining an arbitrary precision
sparse matrix multiplication and addition operation operator with
parallel computing acceleration equipment, and performing
parallel computing acceleration on the sparse matrix. The method comprises the following steps: decomposing a
general matrix into a sparse matrix in a set format, partitioning the sparse matrix and assigning a corresponding
parallel computing hardware unit for the sparse matrix, reducing memory conflicts and access
delay by using a
shared memory, calling a high-level language API function
library to execute loading, computing and storing processes of a computing data volume, and finally performing specification on output data of a function. Therefore, the final result of the random-precision
sparse matrix multiplication and addition operation on the parallel computing acceleration equipment is obtained. According to the method, parallel computing resources such as the
tensor core on the A100 can be fully utilized, the
program calculation amount and the communication overhead are effectively reduced, and the program operation performance is greatly improved.