EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

GPU Coroutines for Flexible Splitting and Scheduling of Rendering Tasks

Shaokun Zheng, Xin Chen, Zhong Shi, Ling-Qi Yan, Kun Xu

ACM Transactions on Graphics · 19.12.2024 · 43 (6) · 1-24

DOI: 10.1145/3687766 ↗

Kurz gefasst

Fachartikel in der Zeitschrift ACM Transactions on Graphics, online erschienen am 19.11.2024. Verfasst von Shaokun Zheng und 4 weiteren Autor:innen. Die Arbeit wurde bisher 2-mal zitiert (Crossref) und nennt 57 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: National Natural Science Foundation of China.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

We introduce coroutines into GPU kernel programming, providing an automated solution for flexible splitting and scheduling of rendering tasks. This approach addresses a prevalent challenge in harnessing the power of modern GPUs for complex, imbalanced graphics workloads like path tracing. Usually, to accommodate the SIMT execution model and latency-hiding architecture, developers have to decompose a monolithic mega-kernel into smaller sub-tasks for improved thread coherence and reduced register pressure. However, involving the handling of intricate nested control flows and numerous interdependent program states, this process can be exceedingly tedious and error-prone when performed manually. Coroutines, a building block for asynchronous programming in many high-level CPU languages, exhibit untapped potential for restructuring GPU kernels due to their versatility in control representation. By extending Luisa [Zheng et al. 2022], we implement an asymmetric, stackless coroutine model with programming language support and multiple built-in schedulers for modern GPUs. To showcase the effectiveness of our model and implementation, we examine them in different application scenarios, including path tracing, SDF rendering, and incorporation with custom passes.

Förderung

  • National Natural Science Foundation of China

Zitieren

APA

Zheng, S., Chen, X., Shi, Z., Yan, L., & Xu, K. (2024). GPU Coroutines for Flexible Splitting and Scheduling of Rendering Tasks. ACM Transactions on Graphics, 43(6), 1-24. https://doi.org/10.1145/3687766

Vancouver

Zheng S, Chen X, Shi Z, Yan L, Xu K. GPU Coroutines for Flexible Splitting and Scheduling of Rendering Tasks. ACM Transactions on Graphics. 2024;43(6):1-24. doi:10.1145/3687766

BibTeX
@article{Zheng2024,
  author = {Zheng, Shaokun and Chen, Xin and Shi, Zhong and Yan, Ling-Qi and Xu, Kun},
  title = {GPU Coroutines for Flexible Splitting and Scheduling of Rendering Tasks},
  journal = {ACM Transactions on Graphics},
  year = {2024},
  volume = {43},
  number = {6},
  pages = {1--24},
  doi = {10.1145/3687766}
}
Kostenlos starten →