@inproceedings{a4903d458a684ec6b4b387a88e209e45,
title = "Graph Mining and Machine Learning for Shader Codes Analysis to Accelerate GPU Tuning",
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{\textquoteright} evolution via temporal graph analysis and structure mining with frequent subgraphs. Using them as the underlying tools, we conduct a frame{\textquoteright}s scene detection and representative frames selection. We group the scenes (applications) to identify the representative scenes, and predict a new application{\textquoteright}s inefficient shaders. We empirically demonstrate the effectiveness of our solution and discuss future directions.",
keywords = "GPUs, Graph analysis, Machine learning on graphs, Shader code",
author = "Lin Zhao and Arijit Khan and Robby Luo and Yeo, {Chai Kiat}",
year = "2023",
doi = "10.1007/978-3-031-21127-0_35",
language = "English",
isbn = "978-3-031-21126-3",
series = "Studies in Computational Intelligence (Springer SCI)",
pages = "426--439",
editor = "Hocine Cherifi and Mantegna, {Rosario Nunzio} and Rocha, {Luis M.} and Chantal Cherifi and Salvatore Miccich{\`e}",
booktitle = "Complex Networks and Their Applications - Proceedings of the 11th International Conference",
publisher = "Springer Publishing Company",
address = "United States",
note = "International Conference on Complex Networks and Their Applications : COMPLEX NETWORKS 2016 2022 ; Conference date: 08-11-2022 Through 10-11-2022",
}