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.
Fast multiplication by two's complement addition of numbers represented as a set of polynomial radix 2 indexes, stored as an integer list for massively parallel computation
Scalable Multi-GPU Simulation of 3D Multicellular Growth with RNN-Based Workload Balancing
School of Computing, University of Nebraska–Lincoln(内布拉斯加大学林肯分校计算学院);Department of Mathematics, University of Nebraska–Lincoln(内布拉斯加大学林肯分校数学系);Department of Radiation Oncology, University of Rochester Medical Center(罗切斯特医学中心放射肿瘤学系);School of Biological Sciences, University of Nebraska–Lincoln(内布拉斯加大学林肯分校生物科学学院);Holland Computing Center, University of Nebraska–Lincoln(内布拉斯加大学林肯分校霍兰德计算中心)
Max Planck Institute for Informatics(马克斯·普朗克信息学研究所);Saarland Informatics Campus(萨尔兰信息学园区)
提出了一种求解结构预测中0- 1整数线性规划问题的大规模并行Lagrange分解方法。我们提出了一个新的迭代更新方案解决拉格朗日对偶和扰动技术解码原始解。为了表示子问题,我们遵循Lange et al.(2021)并使用二元决策图(BDD)。我们的原始和对偶算法需要很少的子问题之间的同步和优化BDD只需要基本的操作,没有复杂的控制流。这使我们能够利用GPU为我们方法的所有组件提供的并行性。我们目前的实验结果组合问题的MAP推理马尔可夫随机场,二次分配和细胞跟踪发育生物学。我们的高度并行GPU实现将Lange等人(2021)算法的运行时间提高了数量级。特别是,我们接近或优于一些国家的最先进的专业化物流,同时是问题不可知论。我们的实现可以在https://github.com/LPMP/BDD上获得。