大规模并行软件几何处理中的动态顶点重用
On-the-fly Vertex Reuse for Massively-Parallel Software Geometry Processing
摘要:
由于计算模式执行的高度灵活性,计算模式渲染对于非标准渲染应用变得越来越有吸引力。这些新设计的流水线通常包括流顶点和几何处理阶段。在典型的三角形网格中,相同的变换顶点在渲染期间平均需要六次。为了避免冗余计算,传统上建议使用后变换缓存来重用顶点处理结果。然而,传统的缓存既不能随着硬件变得更加并行而很好地扩展,也不能在软件设计中有效地实现。我们研究替代策略重用顶点着色结果的大规模并行软件几何处理的飞行。在数据输入流上形成静态和动态映射,我们分析了基于排序、散列和高效的线程组内通信识别潜在本地重用的有效性。总之,我们提出了四个顶点重用策略,适合现代并行架构。我们的模拟表明,我们的基于批处理的策略显着优于并行缓存的重用。在实际的GPU硬件上,我们的评估表明,我们的策略不仅可以很好地重用处理结果,而且与在各种实际应用中天真地忽略重用相比,还可以通过$2-3\times$提高性能。
英文摘要:
Compute-mode rendering is becoming more and more attractive for non-standard rendering applications, due to the high flexibility of compute-mode execution. These newly designed pipelines often include streaming vertex and geometry processing stages. In typical triangle meshes, the same transformed vertex is on average required six times during rendering. To avoid redundant computation, a post-transform cache is traditionally suggested to enable reuse of vertex processing results. However, traditional caching neither scales well as the hardware becomes more parallel, nor can be efficiently implemented in a software design. We investigate alternative strategies to reusing vertex shading results on-the-fly for massively parallel software geometry processing. Forming static and dynamic batching on the data input stream, we analyze the effectiveness of identifying potential local reuse based on sorting, hashing, and efficient intra-thread-group communication. Altogether, we present four vertex reuse strategies, tailored to modern parallel architectures. Our simulations showcase that our batch-based strategies significantly outperform parallel caches in terms of reuse. On actual GPU hardware, our evaluation shows that our strategies not only lead to good reuse of processing results, but also boost performance by $2-3\times$ compared to naïvely ignoring reuse in a variety of practical applications.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。