pith. sign in

arxiv: 2606.06386 · v1 · pith:GNO7TG2Unew · submitted 2026-06-04 · 💻 cs.DC · cs.MS· cs.SC

On GPU Implementation for Multi-Precision Integer Division

classification 💻 cs.DC cs.MScs.SC
keywords integerdivisionalgorithmimplementationmodelmulti-precisionalgorithmicarising
0
0 comments X
read the original abstract

This paper presents the issues arising in implementing a fast integer division algorithm on general purpose GPUs. The algorithm uses a Newton iteration based on the shifted inverse operation, keeping all arithmetic in the integer domain and relying on data-parallel operators. The principal contribution is an efficient GPU/CUDA implementation for integer precisions from $2^{15}$ to $2^{18}$ -- sizes not supported by \cgbn{} division. We propose algorithmic refinements, define a cost model in terms of multiplications, build on prefix sums and previous work on multi-precision multiplication, and present an evaluation showing near-optimal performance relative to the model for the target precision.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.