GPU-friendly data structures for real time simulation.

IF 2 Q3 MECHANICS
Vincent Magnoux, Benoît Ozell
{"title":"GPU-friendly data structures for real time simulation.","authors":"Vincent Magnoux,&nbsp;Benoît Ozell","doi":"10.1186/s40323-021-00192-7","DOIUrl":null,"url":null,"abstract":"<p><p>Simulators for virtual surgery training need to perform complex calculations very quickly to provide realistic haptic and visual interactions with a user. The complexity is further increased by the addition of cuts to virtual organs, such as would be needed for performing tumor resection. A common method for achieving large performance improvements is to make use of the graphics hardware (GPU) available on most general-use computers. Programming GPUs requires data structures that are more rigid than on conventional processors (CPU), making that data more difficult to update. We propose a new method for structuring graph data, which is commonly used for physically based simulation of soft tissue during surgery, and deformable objects in general. Our method aligns all nodes of the graph in memory, independently from the number of edges they contain, allowing for local modifications that do not affect the rest of the structure. Our method also groups memory transfers so as to avoid updating the entire graph every time a small cut is introduced in a simulated organ. We implemented our data structure as part of a simulator based on a meshless method. Our tests show that the new GPU implementation, making use of the new graph structure, achieves a 10 times improvement in computation times compared to the previous CPU implementation. The grouping of data transfers into batches allows for a 80-90% reduction in the amount of data transferred for each graph update, but accounts only for a small improvement in performance. The data structure itself is simple to implement and allows simulating increasingly complex models that can be cut at interactive rates.</p>","PeriodicalId":37424,"journal":{"name":"Advanced Modeling and Simulation in Engineering Sciences","volume":"8 1","pages":"7"},"PeriodicalIF":2.0000,"publicationDate":"2021-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.1186/s40323-021-00192-7","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Advanced Modeling and Simulation in Engineering Sciences","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1186/s40323-021-00192-7","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2021/3/27 0:00:00","PubModel":"Epub","JCR":"Q3","JCRName":"MECHANICS","Score":null,"Total":0}
引用次数: 2

Abstract

Simulators for virtual surgery training need to perform complex calculations very quickly to provide realistic haptic and visual interactions with a user. The complexity is further increased by the addition of cuts to virtual organs, such as would be needed for performing tumor resection. A common method for achieving large performance improvements is to make use of the graphics hardware (GPU) available on most general-use computers. Programming GPUs requires data structures that are more rigid than on conventional processors (CPU), making that data more difficult to update. We propose a new method for structuring graph data, which is commonly used for physically based simulation of soft tissue during surgery, and deformable objects in general. Our method aligns all nodes of the graph in memory, independently from the number of edges they contain, allowing for local modifications that do not affect the rest of the structure. Our method also groups memory transfers so as to avoid updating the entire graph every time a small cut is introduced in a simulated organ. We implemented our data structure as part of a simulator based on a meshless method. Our tests show that the new GPU implementation, making use of the new graph structure, achieves a 10 times improvement in computation times compared to the previous CPU implementation. The grouping of data transfers into batches allows for a 80-90% reduction in the amount of data transferred for each graph update, but accounts only for a small improvement in performance. The data structure itself is simple to implement and allows simulating increasingly complex models that can be cut at interactive rates.

Abstract Image

Abstract Image

Abstract Image

gpu友好的实时模拟数据结构。
用于虚拟外科训练的模拟器需要非常快速地执行复杂的计算,以便与用户提供真实的触觉和视觉交互。由于需要对虚拟器官进行切割,例如进行肿瘤切除,因此进一步增加了复杂性。实现大幅度性能改进的一种常见方法是利用大多数通用计算机上可用的图形硬件(GPU)。编程gpu需要比传统处理器(CPU)更严格的数据结构,这使得数据更难以更新。我们提出了一种构造图形数据的新方法,该方法通常用于手术期间软组织和一般可变形物体的基于物理的模拟。我们的方法在内存中对齐图的所有节点,独立于它们包含的边的数量,允许局部修改,而不影响结构的其余部分。我们的方法还对记忆传输进行分组,以避免每次在模拟器官中引入一个小切口时更新整个图。我们将数据结构作为基于无网格方法的模拟器的一部分来实现。我们的测试表明,新的GPU实现,利用新的图结构,在计算时间上比以前的CPU实现提高了10倍。将数据传输分组成批可以减少每次图更新传输的数据量80-90%,但只对性能有很小的提高。数据结构本身很容易实现,并允许模拟日益复杂的模型,这些模型可以以交互速率切割。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Advanced Modeling and Simulation in Engineering Sciences
Advanced Modeling and Simulation in Engineering Sciences Engineering-Engineering (miscellaneous)
CiteScore
6.80
自引率
0.00%
发文量
22
审稿时长
30 weeks
期刊介绍: The research topics addressed by Advanced Modeling and Simulation in Engineering Sciences (AMSES) cover the vast domain of the advanced modeling and simulation of materials, processes and structures governed by the laws of mechanics. The emphasis is on advanced and innovative modeling approaches and numerical strategies. The main objective is to describe the actual physics of large mechanical systems with complicated geometries as accurately as possible using complex, highly nonlinear and coupled multiphysics and multiscale models, and then to carry out simulations with these complex models as rapidly as possible. In other words, this research revolves around efficient numerical modeling along with model verification and validation. Therefore, the corresponding papers deal with advanced modeling and simulation, efficient optimization, inverse analysis, data-driven computation and simulation-based control. These challenging issues require multidisciplinary efforts – particularly in modeling, numerical analysis and computer science – which are treated in this journal.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信