The invention relates to a GPU-based GRAPES
system optimization method and
system, a medium and equipment. The method comprises the steps of performing
data format conversion and data initialization of storage space development; conducting GPU
transplantation on the calculation process of the generalized conjugate residual error method through
CUDA,
parallel processing can be conducted in the calculation process, adopting multi-thread
parallel processing in a GPU, communication by a
video memory in the calculation process, and saving intermediate variables in the GPU; for the data which cannotbe processed in parallel in the calculation process,
copying the preposed data back to the CPU end for calculation, and
copying the calculation result back to the GPU end. According to the embodimentof the invention, GPU
transplantation is carried out on the calculation process,
parallel processing can be carried out, multi-thread parallel
processing is adopted in the GPU, a
video memory is usedfor communication in the calculation process, and intermediate variables are all stored on the GPU, so that frequent
data transmission with a CPU end is avoided, the
data transmission overhead between the GPU and the CPU is reduced, and the overall performance of a program is improved.