The invention discloses a
matrix multiplication acceleration method oriented to a heterogeneous
fusion system structure, and aims to design a universal
matrix multiplication acceleration method oriented to the heterogeneous
fusion system structure for different many-core accelerator target
system structures and improve the use efficiency of a heterogeneous
system. According to the technical scheme, firstly,
block matrix multiplied versions facing a heterogeneous
fusion system structure are designed, the
block matrix multiplied versions comprise vcpu, vgpu, vmic, vscif, vcoi and vtarget, and then the heterogeneous fusion multi-version matrix multiplied versions are integrated and packaged to generate a
library file HU-xgemm of the heterogeneous fusion version; finally, an accelerator in anHU-xgemm adaptive heterogeneous fusion
system structure is adopted. According to the invention, different target accelerators and processors can be self-adapted;
matrix multiplication can be adaptively carried out according to different heterogeneous fusion system structures, matrix multiplication is carried out according to topological structures of CPUs or accelerators in the different heterogeneous fusion system structures, FMA
parallel computing is carried out, the matrix multiplication speed is increased, and the use efficiency of a heterogeneous system is improved.