...
首页> 外文期刊>Parallel Algorithms and Applications >Parallel Monte Carlo simulation in the canonical ensemble on the graphics processing unit
【24h】

Parallel Monte Carlo simulation in the canonical ensemble on the graphics processing unit

机译:图形处理单元上规范集合中的并行蒙特卡洛模拟

获取原文
获取原文并翻译 | 示例
           

摘要

Graphics processing units (GPUs) offer parallel computing power that usually requires a cluster of networked computers or a supercomputer to accomplish. While writing kernel code is fairly straightforward, achieving efficiency and performance requires very careful optimisation decisions and changes to the original serial algorithm. We introduce a parallel canonical ensemble Monte Carlo (MC) simulation that runs entirely on the GPU. In this paper, we describe two MC simulation codes of Lennard-Jones particles in the canonical ensemble, a single CPU core and a parallel GPU implementations. Using Compute Unified Device Architecture, the parallel implementation enables the simulation of systems containing over 200,000 particles in a reasonable amount of time, which allows researchers to obtain more accurate simulation results. A remapping algorithm is introduced to balance the load of the device resources and demonstrate by experimental results that the efficiency of this algorithm is bounded by available GPU resource. Our parallel implementation achieves an improvement of up to 15 times on a commodity GPU over our efficient single core implementation for a system consisting of 256k particles, with the speedup increasing with the problem size. Furthermore, we describe our methods and strategies for optimising our implementation in detail.
机译:图形处理单元(GPU)提供并行计算能力,通常需要联网计算机或超级计算机的集群才能完成。虽然编写内核代码非常简单,但是要获得效率和性能,则需要非常谨慎的优化决策并更改原始串行算法。我们介绍了完全在GPU上运行的并行规范合奏Monte Carlo(MC)仿真。在本文中,我们描述了规范集合中Lennard-Jones粒子的两个MC模拟代码,一个CPU内核和一个并行GPU实现。使用Compute Unified Device Architecture,并行实现可在合理的时间内对包含200,000多个粒子的系统进行仿真,从而使研究人员可以获得更准确的仿真结果。引入了一种重映射算法来平衡设备资源的负载,并通过实验结果证明该算法的效率受可用GPU资源的限制。对于由256k粒子组成的系统,我们的并行实现在商用GPU上比我们的高效单核实现最多提高了15倍,并且随着问题大小的增加而加快。此外,我们详细描述了用于优化实施的方法和策略。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号