CLVizulayer: A Tool for Visualising the Directed Acyclic Graph of OpenCL Device...
summary
A layer is built that intercepts the OpenCL ICD calls and outputs DOT/graphviz files and JSON traces representing the device DAG; it visualizes kernel submissions, barriers and blocking waits, supports SYCL backends and USM, and runs graph algorithms like transitive reduction. Real runs include a Chess‑Zero inference benchmark that produces 378 nodes before blocking finish and a command‑buffer change that produces a measured 10% throughput gain on an Intel CPU; the tool is thread‑safe, not multi‑process, and the dot export renders as SVG.
AI-written summary · about
chapters (16)
- 0:00Introduction to CLVizulayer
- 1:22OpenCL ICD loader layers
- 3:30Motivation for visualization tool
- 4:55Generating DAG graphs with CLVizulayer
- 6:38Handling blocking commands in graphs
- 7:40SYCL examples and outputs
- 9:25Comparing OpenCL and SYCL graphs
- 10:26Real-world application: Bubble sort
- 11:28Optimizing with graph algorithms
- 12:49Recording smaller graph sections
- 13:55Case study: Chess Zero application
- 15:59Command buffer extension for optimization
- 18:06Performance improvements with changes
- 19:30Future development and collaboration
- 20:11Summary and tool availability
- 20:32Q&A session
