Skip to content

[PTI] SYCL compiler/library version checks are missing causing build errors #117

Description

@dvrogozh

On 8f06359 (today 9/16/2026 latest master) and https://github.com/intel/pti-gpu/tree/pti-1.1.0, on Ubuntu 26.10 RC:

ARG IMAGE=ubuntu:26.10
FROM $IMAGE

ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && \
  apt-get install -y --no-install-recommends \
    ca-certificates \
    cmake \
    curl \
    git \
    gcc \
    g++ \
    gnupg \
    make \
    ninja-build \
    pkg-config \
    python3 \
    python3-dev \
    python3-venv \
    python3-pip \
    software-properties-common \
    tree

RUN apt-get update && \
  apt-get install --no-install-recommends -y \
    dpclang-7 \
    libxptifw-dev \
    libze-dev \
    ocl-icd-opencl-dev

RUN curl -LsSf https://astral.sh/uv/install.sh | sh

ENV PATH=/root/.local/bin:$PATH

Build of PTI fails with:

In file included from /opt/pti/sdk/test/graph/sycl_graph_fixture.cc:24:
/opt/pti/sdk/test/graph/sycl_graph_workloads.h:86:65: error: no member named 'enable_native_recording' in namespace
      'sycl::ext::oneapi::experimental::property::graph'
   86 |       queue, {sycl::ext::oneapi::experimental::property::graph::enable_native_recording{}}};
      |                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/opt/pti/sdk/test/graph/sycl_graph_fixture.cc:525:9: error: no matching function for call to 'CreateNativeUsmDotProductGraph'
  525 |         CreateNativeUsmDotProductGraph(queue_, Workload::kDefaultVectorSize, dot_product_.get(),
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/pti/sdk/test/graph/sycl_graph_workloads.h:82:27: note: candidate template ignored: substitution failure [with T = float]
   82 | [[nodiscard]] inline auto CreateNativeUsmDotProductGraph(sycl::queue& queue,
      |                           ^

Can PTI sources, please, start checking SYCL compiler version and/or SYCL library version? Consider:

  1. Having minimal required version
  2. In-source version checks to enable/disable code sections

Please note that Pytorch allows building with multiple compiler versions. Thus, please, consider to allow wide ranges in minimal version checks and handle the rest by conditional compilation. As a reminder, Ubuntu 26.04 has 6.2.0 and Ubuntu 26.10 has 7.0.1

Note: https://github.com/intel/pti-gpu/tree/pti-1.0.1 builds OK on Ubuntu 26.10.

CC: @mschilling0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions