Supporting Unified Shader Specialization by Co-opting C++ Features
dc.contributor.author | Seitz, Kerry A. | en_US |
dc.contributor.author | Foley, Theresa | en_US |
dc.contributor.author | Porumbescu, Serban D. | en_US |
dc.contributor.author | Owens, John D. | en_US |
dc.contributor.editor | Josef Spjut | en_US |
dc.contributor.editor | Marc Stamminger | en_US |
dc.contributor.editor | Victor Zordan | en_US |
dc.date.accessioned | 2023-01-23T10:23:43Z | |
dc.date.available | 2023-01-23T10:23:43Z | |
dc.date.issued | 2022 | |
dc.description.abstract | Modern unified programming models (such as CUDA and SYCL) that combine host (CPU) code and GPU code into the same programming language, same file, and same lexical scope lack adequate support for GPU code specialization, which is a key optimization in real-time graphics. Furthermore, current methods used to implement specialization do not translate to a unified environment. In this paper, we create a unified shader programming environment in C++ that provides first-class support for specialization by co-opting C++'s attribute and virtual function features and reimplementing them with alternate semantics to express the services required. By co-opting existing features, we enable programmers to use familiar C++ programming techniques to write host and GPU code together, while still achieving efficient generated C++ and HLSL code via our source-to-source translator. | en_US |
dc.description.number | 3 | |
dc.description.sectionheaders | Graphics Systems | |
dc.description.seriesinformation | Proceedings of the ACM on Computer Graphics and Interactive Techniques | |
dc.description.volume | 5 | |
dc.identifier.doi | 10.1145/3543866 | |
dc.identifier.issn | 2577-6193 | |
dc.identifier.uri | https://doi.org/10.1145/3543866 | |
dc.identifier.uri | https://diglib.eg.org:443/handle/10.1145/3543866 | |
dc.publisher | ACM Association for Computing Machinery | en_US |
dc.subject | CCS Concepts: Computing methodologies -> Computer graphics; Software and its engineering -> General programming languages; Compilers Additional Key Words and Phrases: Shaders, Shading Languages, Real-Time Rendering, Heterogeneous Programming, Unified Programming | |
dc.subject | Computing methodologies | |
dc.subject | Computer graphics | |
dc.subject | Software and its engineering | |
dc.subject | General programming languages | |
dc.subject | Compilers Additional Key Words and Phrases | |
dc.subject | Shaders | |
dc.subject | Shading Languages | |
dc.subject | Real | |
dc.subject | Time Rendering | |
dc.subject | Heterogeneous Programming | |
dc.subject | Unified Programming | |
dc.title | Supporting Unified Shader Specialization by Co-opting C++ Features | en_US |