Visible to Intel only — GUID: GUID-572CCBBC-04BA-4B60-AC6E-EEAE59A550C0
Visible to Intel only — GUID: GUID-572CCBBC-04BA-4B60-AC6E-EEAE59A550C0
Level Zero Tracer
This tool is an analogue of the Intercept Layer for OpenCLTM Applications designed to support Level Zero.
To access the Level Zero Tracer git:
git clone https://github.com/intel/pti-gpu
All steps to build and run these tools and all controls are documented in the Level Zero Tracer README:: https://github.com/intel/pti-gpu/blob/master/tools/ze_tracer/README.md
- See ze_tracer documentation for information about setup and controls.
To run, use the following setup:
./ze_tracer [options] <target_application>
Example use case:
./ze_tracer -d -h --chrome-call-logging --chrome-device-timeline <target_application>
--chrome-call-logging --chrome-device-timeline will generate a file called zet_trace.<random number>.json. 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.
-d -h is used to collect the duration for each device and host API call and provides the summary for the whole application in standard output.
See ze_tracer documentation for more information.