intel/opencl-intercept-layer

Intercept Layer for Debugging and Analyzing OpenCL Applications

What it solves

This tool provides a way to debug and analyze the performance of OpenCL applications without requiring any changes to the application's source code or the underlying drivers.

How it works

The Intercept Layer acts as a middleman between the OpenCL application and the real OpenCL ICD loader. It masquerades as the loader (or occasionally as an implementation) to intercept OpenCL calls. Once intercepted, the tool can modify these calls or pass them through to the actual OpenCL implementation as is.

Who it’s for

Developers and performance engineers who need to inspect, modify, or profile OpenCL-based software.

Highlights

  • Zero Modification: No need to rewrite application code or update drivers.
  • Kerenel ISA Inspection: Ability to dump and disassemble kernel ISA.
  • Injection Capabilities: Support for injecting modified programs, buffers, and images.
  • Performance Analysis: Integration with VTune, Chrome tracing, and MDAPI performance metrics.
  • Capture and Replay: Ability to capture and capture and replay single kernels.

Related

  • Project
  • Project
  • Project
  • Project
  • Project