The invention provides a sparse approximate inverse Shenwei parallel preprocessing method and
system for electromagnetic scattering, and relates to the technical field of processor
parallel computing, and the method comprises the steps: carrying out the performance hotspot analysis of a sparse approximate inverse
preprocessor in an electromagnetic scattering
simulation process, and determining a hotspot function of the sparse approximate inverse
preprocessor; extracting a
sparse matrix vector multiplication operation of a hotspot function, performing master-slave core parallel calculation on the
sparse matrix vector multiplication operation, migrating the
sparse matrix vector multiplication operation to slave core calculation, and accelerating hotspot calculation by using a heterogeneous parallel sparse approximate inverse
algorithm;
parallel computing of master-slave core intensive
numerical computing tasks is achieved; in the
parallel computing process, the slave cores communicate with the master core in a
direct memory access mode, and during the period, the master core is in a waiting state to ensure
data consistency and communication synchronization until all the slave cores compute distributed tasks.