Efficient High-Performance Computing Strategies for the Legendre Pairs Search
摘要
In this paper, we present a comprehensive study on the parallelization and optimization of Legendre Pairs (LPs) construction using High-Performance Computing (HPC) techniques. We address the computational challenges associated with LPs, particularly for large lengths, and propose a highly effective multi-GPU solution. Throughout this journey, we present our findings, insights, and contributions including the parallelized implementation of LP search using OpenMP, MPI, and CUDA, along with systematic optimization strategies for both CPU and GPU. We demonstrate significant performance improvements, achieving over 6500x and 1900x speedup on NVIDIA H100 and A30 GPUs, respectively, compared to the serial execution on Intel Xeon Gold 6338 CPU.