Graph Mining and Machine Learning for Shader Codes Analysis to Accelerate GPU Tuning

Lin Zhao, Arijit Khan, Robby Luo, Chai Kiat Yeo

Research output: Contribution to book/anthology/report/conference proceedingArticle in proceedingResearchpeer-review

Abstract

The graphics processing unit (GPU) has become one of the most important computing technologies. Disassembly shader codes, which are machine-level codes, are important for GPU designers (e.g., AMD, Intel, NVIDIA) to tune the hardware, including customization of clock speeds and voltages. Due to many use-cases of modern GPUs, engineers generally find it difficult to manually inspect a large number of shader codes emerging from these applications. To this end, we develop a framework that converts shader codes into graphs, and employs sophisticated graph mining and machine learning techniques over a number of applications to simplify shader graphs analysis in an effective and explainable manner, aiming at accelerating the whole debugging process and improving the overall hardware performance. We study shader codes’ evolution via temporal graph analysis and structure mining with frequent subgraphs. Using them as the underlying tools, we conduct a frame’s scene detection and representative frames selection. We group the scenes (applications) to identify the representative scenes, and predict a new application’s inefficient shaders. We empirically demonstrate the effectiveness of our solution and discuss future directions.
Original languageEnglish
Title of host publicationComplex Networks and Their Applications - Proceedings of the 11th International Conference : COMPLEX NETWORKS 2022
EditorsHocine Cherifi, Rosario Nunzio Mantegna, Luis M. Rocha, Chantal Cherifi, Salvatore Miccichè
Number of pages14
Place of PublicationInternational Conference on Complex Networks and Their Applications
PublisherSpringer Publishing Company
Publication date2023
Pages426-439
ISBN (Print)978-3-031-21126-3
ISBN (Electronic)978-3-031-21127-0
DOIs
Publication statusPublished - 2023
EventInternational Conference on Complex Networks and Their Applications: COMPLEX NETWORKS 2016 2022 - Palermo, Italy
Duration: 8 Nov 202210 Nov 2022

Conference

ConferenceInternational Conference on Complex Networks and Their Applications
Country/TerritoryItaly
CityPalermo
Period08/11/202210/11/2022
SeriesStudies in Computational Intelligence (Springer SCI)
Volume1077

Keywords

  • GPUs
  • Graph analysis
  • Machine learning on graphs
  • Shader code

Fingerprint

Dive into the research topics of 'Graph Mining and Machine Learning for Shader Codes Analysis to Accelerate GPU Tuning'. Together they form a unique fingerprint.

Cite this