Parallel matrix multiplication based on MPI+CUDA asynchronous model
Weichun Yan
Abstract
Weichun Yan
Abstract
Matrix multiplication plays an important role in scientific computing.Different structural models can improve the performance of parallel matrix multiplication.In the existing MPI+CUDA synchronization model,the host-side need enter the waiting state and cannot continue to work until the device completes the task,which obviously wastes time.Concerning this question,a parallel matrix multiplication based on MPI+CUDA asynchronous model was proposed.This model prevented host-side's entering into the waiting state,and used CUDA-stream technology to solve the problem of data bulk over GPU memory.By analyzing the speedup ratio and efficiency of the asynchronous model,the experimental results show that MPI+CUDA parallel programming obviously promotes parallel efficiency and large-scale matrix multiplication's speed,which exerts the advantages of the distributional memory between the nodes and the share memory in the node.It is an effective and feasible parallel strategy.
OpenAlex reports 2 citations for this work. Citation counts describe recorded attention and do not establish research quality.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
Matrix multiplication plays an important role in scientific computing.Different structural models can improve the performance of parallel matrix multiplication.In the existing MPI+CUDA synchronization model,the host-side need enter the waiting state and cannot continue to work until the device completes the task,which obviously wastes time.Concerning this question,a parallel matrix multiplication based on MPI+CUDA asynchronous model was proposed.This model prevented host-side's entering into the waiting state,and used CUDA-stream technology to solve the problem of data bulk over GPU memory.By analyzing the speedup ratio and efficiency of the asynchronous model,the experimental results show that MPI+CUDA parallel programming obviously promotes parallel efficiency and large-scale matrix multiplication's speed,which exerts the advantages of the distributional memory between the nodes and the share memory in the node.It is an effective and feasible parallel strategy.
Key concepts: CUDA, Computer science, Parallel computing, Multiplication (music), Asynchronous communication, Matrix multiplication, Speedup, Shared memory