Lightweight Tracing Interface for SYCL's USM Model Implemented in AdaptiveCpp
summary
A lightweight tracing interface for the SYCL USM model is implemented in adaptiveCpp with concrete tooling: tools load from a SYCL_TOOLS env var as shared libraries exposing extern callbacks, each tracer receives a tracer struct as void pointer for tool state, and trace points are entry/exit for API calls plus constructor/destructor events for runtime objects. Proof-of-concept tools include a boost-based memory leak detector, a tally tracer, timeline/task-graph visualizer combined with a CUDA tracer, and measured overhead is <2% runtime overhead.
AI-written summary · about
chapters (14)
- 0:00Introduction and motivation
- 1:27Need for standardized tracing
- 2:52Designing the tracing interface
- 3:56Implementing tools for tracing
- 7:47Trace points and API functions
- 9:11Runtime object callbacks
- 10:58Multiple tool integration
- 11:20Memory leak detector demo
- 12:46Tally tracer and performance
- 13:48Timeline visualization with CUDA
- 15:14Task graph visualization
- 16:38Performance overhead analysis
- 18:02Contributions and future work
- 19:26Q&A session
