This tool is an analogue of the Intercept Layer for OpenCL
designed to support Level Zero.
To access the Level Zero Tracer git:
git clone https://github.com/intel/pti-gpu
To run, use the following setup:
./ze_tracer [options] <target_application>
./ze_tracer -d -h --chrome-call-logging --chrome-device-timeline <target_application>
will generate a file called
This file contains the dumps of timestamps for device activities per command
queue to JSON format and can be opened in chrome://tracing browser tool.
is used to collect the duration for each device and host API call
and provides the summary for the whole application in standard output.