Evaluation of PyTorch as a Data-Parallel Programming API for GPU Volume Rendering
dc.contributor.author | Marshak, Nathan X. | en_US |
dc.contributor.author | Grosset, A. V. Pascal | en_US |
dc.contributor.author | Knoll, Aaron | en_US |
dc.contributor.author | Ahrens, James | en_US |
dc.contributor.author | Johnson, Chris R. | en_US |
dc.contributor.editor | Larsen, Matthew and Sadlo, Filip | en_US |
dc.date.accessioned | 2021-06-12T11:26:07Z | |
dc.date.available | 2021-06-12T11:26:07Z | |
dc.date.issued | 2021 | |
dc.description.abstract | Data-parallel programming (DPP) has attracted considerable interest from the visualization community, fostering major software initiatives such as VTK-m. However, there has been relatively little recent investigation of data-parallel APIs in higherlevel languages such as Python, which could help developers sidestep the need for low-level application programming in C++ and CUDA. Moreover, machine learning frameworks exposing data-parallel primitives, such as PyTorch and TensorFlow, have exploded in popularity, making them attractive platforms for parallel visualization and data analysis. In this work, we benchmark data-parallel primitives in PyTorch, and investigate its application to GPU volume rendering using two distinct DPP formulations: a parallel scan and reduce over the entire volume, and repeated application of data-parallel operators to an array of rays. We find that most relevant DPP primitives exhibit performance similar to a native CUDA library. However, our volume rendering implementation reveals that PyTorch is limited in expressiveness when compared to other DPP APIs. Furthermore, while render times are sufficient for an early ''proof of concept'', memory usage acutely limits scalability. | en_US |
dc.description.sectionheaders | Volumes | |
dc.description.seriesinformation | Eurographics Symposium on Parallel Graphics and Visualization | |
dc.identifier.doi | 10.2312/pgv.20211041 | |
dc.identifier.isbn | 978-3-03868-138-0 | |
dc.identifier.issn | 1727-348X | |
dc.identifier.pages | 31-35 | |
dc.identifier.uri | https://doi.org/10.2312/pgv.20211041 | |
dc.identifier.uri | https://diglib.eg.org:443/handle/10.2312/pgv20211041 | |
dc.publisher | The Eurographics Association | en_US |
dc.subject | Human centered computing | |
dc.subject | Scientific visualization | |
dc.subject | Computing methodologies | |
dc.subject | Parallel computing methodologies | |
dc.subject | Rendering | |
dc.title | Evaluation of PyTorch as a Data-Parallel Programming API for GPU Volume Rendering | en_US |