Known Issues

Known Issues#

  1. Metrics collection requires metrics to be enabled on the device, either by calling ptiMetricsEnable (ptiMetricsScopeEnable and ptiPcSamplingEnable do this internally) or by setting the ZET_ENABLE_METRICS=1 environment variable. Drivers that do not support enabling metrics at runtime make ptiMetricsEnable return PTI_ERROR_METRICS_RUNTIME_ENABLE_UNSUPPORTED; on those drivers the environment variable is still required.

  2. Communication tracing (PTI_VIEW_COMMUNICATION) automatically registers libpti_view.so through INTEL_LIBITTNOTIFY64 when the variable is unset. If it already identifies the loaded libpti_view.so, PTI communication tracing remains available. If it identifies another collector, PTI leaves it unchanged, and ptiViewEnable(PTI_VIEW_COMMUNICATION) returns PTI_ERROR_COLLECTOR_UNAVAILABLE with 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. Because libpti_view.so self-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, set INTEL_LIBITTNOTIFY64 to 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 returns PTI_ERROR_COLLECTOR_UNAVAILABLE with 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.

  3. 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.

  4. For on-demand collection mode, Rolling drivers are required. Older LTS drivers do not support it, and instead require Level Zero tracing to be globally enabled via the ZE_ENABLE_TRACING_LAYER=1 environment variable.

  5. Kernel name demangling is not supported on Windows.

  6. 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.

  7. 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.