arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.00039cs.DCcs.PF
收藏

GPU加速基于Agent的三维生物仿真

GPU Acceleration of 3D Agent-Based Biological Simulations

Ahmad Hesam, Lukas Breitwieser, Fons Rademakers, Zaid Al-Ars

摘要:

生物学研究人员正面临着为日益复杂的基于主体的模型开发高性能计算机模拟的严峻挑战。BioDynaMo是一个开源的基于代理的仿真平台,旨在减轻研究人员在开发高性能计算时的复杂性。通过高级接口,研究人员可以在BioDynaMo的多线程核心执行引擎上实现他们的模型,以快速开发有效利用并行计算硬件的模拟。在基于生物代理的建模中,通常计算密集型的操作类型是那些涉及代理与其本地邻域交互的操作。在这项工作中,我们研究了目前实施的方法处理附近的细胞代理在BioDynaMo的相互作用,以及如何提高性能,使大规模和复杂的模拟。我们建议取代kd树实现,找到和覆盖的邻居,每个代理与一个统一的网格方法,使我们能够利用大规模并行架构的图形处理单元(GPU)。我们在CUDA和OpenCL中实现了统一网格方法,以解决所有主要供应商的GPU问题,并评估了几种技术以进一步提高性能。此外,我们分析了我们的实现模型的性能与不同密度的相邻代理。因此,与多线程基线版本相比,机械交互方法的性能提高了两个数量级。这些实现是开源的,并在Github上公开提供。

英文摘要:

Researchers in biology are faced with the tough challenge of developing high-performance computer simulations of their increasingly complex agent-based models. BioDynaMo is an open-source agent-based simulation platform that aims to alleviate researchers from the intricacies that go into the development of high-performance computing. Through a high-level interface, researchers can implement their models on top of BioDynaMo's multi-threaded core execution engine to rapidly develop simulations that effectively utilize parallel computing hardware. In biological agent-based modeling, the type of operations that are typically the most compute-intensive are those that involve agents interacting with their local neighborhood. In this work, we investigate the currently implemented method of handling neighborhood interactions of cellular agents in BioDynaMo, and ways to improve the performance to enable large-scale and complex simulations. We propose to replace the kd-tree implementation to find and iterate over the neighborhood of each agent with a uniform grid method that allows us to take advantage of the massively parallel architecture of graphics processing units (GPUs). We implement the uniform grid method in both CUDA and OpenCL to address GPUs from all major vendors and evaluate several techniques to further improve the performance. Furthermore, we analyze the performance of our implementations for models with a varying density of neighboring agents. As a result, the performance of the mechanical interactions method improved by up to two orders of magnitude in comparison to the multithreaded baseline version. The implementations are open-source and publicly available on Github.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑