库达
计算机科学
同态加密
加速度
图形处理单元的通用计算
图形处理单元
并行计算
张量(固有定义)
计算科学
加密
绘图
计算机图形学(图像)
操作系统
物理
数学
经典力学
纯数学
作者
Fan Guang,Mingzhe Zhang,Fangyu Zheng,Shengyu Fan,Tian Zhou,Xianglong Deng,Wenxu Tang,Liang Kong,Yixuan Song,Shoumeng Yan
出处
期刊:Proceedings
[Institute of Electrical and Electronics Engineers]
日期:2025-03-01
卷期号:: 1187-1200
被引量:33
标识
DOI:10.1109/hpca61900.2025.00091
摘要
The application of Fully Homomorphic Encryption (FHE) is rapidly gaining traction as a means to maintain data confidentiality while performing computations on encrypted data. Given the accessibility and computational power, GPUs hold promise for significantly accelerating FHE operations. However, existing GPU-based acceleration solutions face several formidable challenges, notably the extensive occurrence of pipeline stalls induced by memory access and suboptimal harnessing of GPU hardware. This paper presents WarpDrive, a comprehensive framework for GPU-based FHE acceleration. Through sophisticated computation decomposition and fine-grained memory access design, WarpDrive significantly reduces the number of instructions by $\mathbf{7 3 \%}$ and pipeline stalls by $\mathbf{8 6 \%}$ compared to the state-of-the-art solution. Additionally, WarpDrive features a framework that supports the concurrent utilization of CUDA Cores and Tensor Cores within the NTT operation, for the first time, achieving performance that surpasses that of any single type of processing unit. Furthermore, we fully exploit the intra-ciphertext parallelism to elevate both computation and memory utilization, achieving up to $2.12 \times$ improvements without the need for ciphertext batching. Experimental results demonstrate that our optimizations highly enhance the performance of homomorphic operations. On an NVIDIA A100 GPU, WarpDrive achieves a throughput of 1218 KOPS for NTT and 305 KOPS for homomorphic multiplication, outperforming the state-of-the-art GPU solution (TensorFHE) by factors of $13.4 \times$ and $3.5 \times$, respectively. For the specific FHE workload, even under a much smaller batch size, our approach achieves $2.8 \times$ the performance of TensorFHE.
科研通智能强力驱动
Strongly Powered by AbleSci AI