Known Issues#
Metrics collection requires metrics to be enabled on the device, either by calling
ptiMetricsEnable(ptiMetricsScopeEnableandptiPcSamplingEnabledo this internally) or by setting theZET_ENABLE_METRICS=1environment variable. Drivers that do not support enabling metrics at runtime makeptiMetricsEnablereturnPTI_ERROR_METRICS_RUNTIME_ENABLE_UNSUPPORTED; on those drivers the environment variable is still required.Communication tracing (
PTI_VIEW_COMMUNICATION) automatically registerslibpti_view.sothroughINTEL_LIBITTNOTIFY64when the variable is unset. If it already identifies the loadedlibpti_view.so, PTI communication tracing remains available. If it identifies another collector, PTI leaves it unchanged, andptiViewEnable(PTI_VIEW_COMMUNICATION)returnsPTI_ERROR_COLLECTOR_UNAVAILABLEwith a warning identifying the configured collector and PTI collector paths. The same error is returned if the configured collector path does not exist or collector configuration fails. Becauselibpti_view.soself-registers whenever it is loaded, applications that link it unconditionally cause ITT to be loaded even when communication tracing is disabled, and child processes inherit the variable. To opt out, setINTEL_LIBITTNOTIFY64to another collector before the process starts. oneCCL tracing remains controlled through the normal PTI view enable/disable mechanisms, and PTI limits additional overhead by disabling non-oneCCL ITT domains during collector initialization.Collector names without a directory separator, such as
libpti_view.so.1, are identified through the dynamic loader among modules already loaded into the process. PTI does not load another collector to identify it. If the name cannot be identified, enabling communication tracing returnsPTI_ERROR_COLLECTOR_UNAVAILABLEwith a warning that the name could not be identified among loaded modules; this does not establish whether the library exists on the loader’s search paths.Significant CPU overhead is currently observed when tracing workloads that frequently submit short kernels to the GPU. Optimization efforts continue both in the library as well as in the underlying layers of the software stack.
For
on-demandcollection mode, Rolling drivers are required. Older LTS drivers do not support it, and instead require Level Zero tracing to be globally enabled via theZE_ENABLE_TRACING_LAYER=1environment variable.Kernel name demangling is not supported on Windows.
Graph profiling depends on the type of graph, the GPU, and the operating system. Level Zero native graphs require Intel® Arc™ B-Series Graphics or newer GPUs, legacy SYCL™ graphs cannot be profiled on demand on Windows or on Intel® Data Center GPU Max Series, and PyTorch® 2.14 needs a package upgrade to profile XPU graphs. See Quick Start with Graph Profiling for the requirements and workarounds.
The first execution of a Level Zero native graph is slow while device tracing is active. When measuring graph overhead, treat the first execution as a warm-up and exclude it.