diff --git a/.github/workflows/sycl-linux-precommit.yml b/.github/workflows/sycl-linux-precommit.yml index 424ade23f1b08..0e811e388fad8 100644 --- a/.github/workflows/sycl-linux-precommit.yml +++ b/.github/workflows/sycl-linux-precommit.yml @@ -89,6 +89,21 @@ jobs: reset_intel_gpu: true install_drivers: ${{ contains(needs.detect_changes.outputs.filters, 'drivers') }} extra_lit_opts: --param gpu-intel-gen12=True + - name: E2E tests on Intel Ponte Vecchio GPU + runner: '["Linux", "pvc"]' + image: ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest + image_options: -u 1001 --group-add 109 --device=/dev/dri --privileged --cap-add SYS_ADMIN + target_devices: ext_oneapi_level_zero:gpu;opencl:gpu + install_drivers: ${{ contains(needs.detect_changes.outputs.filters, 'drivers') }} + - name: E2E tests with dev igc on Intel Ponte Vecchio GPU + runner: '["Linux", "pvc"]' + image: ghcr.io/intel/llvm/ubuntu2204_intel_drivers:${{ contains(github.event.pull_request.labels.*.name, 'ci-no-devigc') && 'latest' || 'devigc' }} + image_options: -u 1001 --group-add 109 --device=/dev/dri --privileged --cap-add SYS_ADMIN + target_devices: ext_oneapi_level_zero:gpu;opencl:gpu + install_drivers: >- + ${{ contains(needs.detect_changes.outputs.filters, 'drivers') || + contains(needs.detect_changes.outputs.filters, 'devigccfg') }} + use_dev_igc: ${{ contains(needs.detect_changes.outputs.filters, 'devigccfg') }} - name: E2E tests on Intel Arc A-Series Graphics runner: '["Linux", "arc"]' image: ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest diff --git a/.github/workflows/sycl-linux-run-tests.yml b/.github/workflows/sycl-linux-run-tests.yml index 1f3cbd5f156b1..efcf8de963c2d 100644 --- a/.github/workflows/sycl-linux-run-tests.yml +++ b/.github/workflows/sycl-linux-run-tests.yml @@ -84,6 +84,7 @@ on: - '["Linux", "gen12"]' - '["amdgpu"]' - '["Linux", "arc"]' + - '["Linux", "pvc"]' - '["cts-cpu"]' image: description: | diff --git a/devops/containers/ubuntu2204_base.Dockerfile b/devops/containers/ubuntu2204_base.Dockerfile index 543e600b09f7b..43a71f93e5ad3 100644 --- a/devops/containers/ubuntu2204_base.Dockerfile +++ b/devops/containers/ubuntu2204_base.Dockerfile @@ -16,6 +16,11 @@ RUN groupadd -g 1001 sycl && useradd sycl -u 1001 -g 1001 -m -s /bin/bash # Add sycl user to video/irc groups so that it can access GPU RUN usermod -aG video sycl RUN usermod -aG irc sycl + +# 109 group is required for sycl user to access PVC card. +RUN groupadd -g 109 render +RUN usermod -aG render sycl + # Allow sycl user to run as sudo RUN echo "sycl ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers