From e69aa9406f6526691cc1b9d6fe5e6c31311afb83 Mon Sep 17 00:00:00 2001 From: Buildbot for SYCL Date: Fri, 26 Jul 2024 14:04:35 +0800 Subject: [PATCH] [GHA] Uplift Linux IGC Dev RT version to igc-dev-15caa46 (#14761) Scheduled igc dev drivers uplift --------- Co-authored-by: Jinsong Ji --- devops/dependencies-igc-dev.json | 8 ++++---- sycl/test-e2e/ESIMD/hardware_dispatch.cpp | 4 ++-- sycl/test-e2e/lit.cfg.py | 12 ++++++++++++ sycl/test-e2e/lit.site.cfg.py.in | 2 ++ 4 files changed, 20 insertions(+), 6 deletions(-) diff --git a/devops/dependencies-igc-dev.json b/devops/dependencies-igc-dev.json index e36ef6f0c970d..29d4c076ea5aa 100644 --- a/devops/dependencies-igc-dev.json +++ b/devops/dependencies-igc-dev.json @@ -1,10 +1,10 @@ { "linux": { "igc_dev": { - "github_tag": "igc-dev-6fe460a", - "version": "6fe460a", - "updated_at": "2024-06-24T01:03:13Z", - "url": "https://api.github.com/repos/intel/intel-graphics-compiler/actions/artifacts/1629761341/zip", + "github_tag": "igc-dev-15caa46", + "version": "15caa46", + "updated_at": "2024-07-24T18:43:46Z", + "url": "https://api.github.com/repos/intel/intel-graphics-compiler/actions/artifacts/1736434628/zip", "root": "{DEPS_ROOT}/opencl/runtime/linux/oclgpu" } } diff --git a/sycl/test-e2e/ESIMD/hardware_dispatch.cpp b/sycl/test-e2e/ESIMD/hardware_dispatch.cpp index b6fe35b936db2..e6c930be81dc7 100644 --- a/sycl/test-e2e/ESIMD/hardware_dispatch.cpp +++ b/sycl/test-e2e/ESIMD/hardware_dispatch.cpp @@ -5,9 +5,9 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// Add "-options -vc-codegen" explicitly to workaround bug in dev igc package. +// XFAIL: igc-dev // REQUIRES: ocloc -// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_tgllp %s -Xs "-options -vc-codegen" -o %t.out +// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_tgllp %s -o %t.out // RUN: %t.out // This is basic test to test hardware dispatch functionality with ESIMD. diff --git a/sycl/test-e2e/lit.cfg.py b/sycl/test-e2e/lit.cfg.py index be44ed4ee4c38..5cbad03666f76 100644 --- a/sycl/test-e2e/lit.cfg.py +++ b/sycl/test-e2e/lit.cfg.py @@ -178,6 +178,18 @@ if lit_config.params.get("matrix-fp16", False): config.available_features.add("matrix-fp16") + +def check_igc_tag_and_add_feature(): + if os.path.isfile(config.igc_tag_file): + with open(config.igc_tag_file, "r") as tag_file: + contents = tag_file.read() + if "igc-dev" in contents: + config.available_features.add("igc-dev") + + +# Call the function to perform the check and add the feature +check_igc_tag_and_add_feature() + # support for LIT parameter ur_l0_debug if lit_config.params.get("ur_l0_debug"): config.ur_l0_debug = lit_config.params.get("ur_l0_debug") diff --git a/sycl/test-e2e/lit.site.cfg.py.in b/sycl/test-e2e/lit.site.cfg.py.in index ae7dd6dfdbe7e..dfa5003c1a2f4 100644 --- a/sycl/test-e2e/lit.site.cfg.py.in +++ b/sycl/test-e2e/lit.site.cfg.py.in @@ -26,6 +26,8 @@ config.cuda_include = "@CUDA_INCLUDE@" config.opencl_include_dir = os.path.join(config.sycl_include, 'sycl') +config.igc_tag_file = os.path.join("/usr/local/lib/igc/", 'IGCTAG.txt') + config.sycl_devices = lit_config.params.get("sycl_devices", "@SYCL_TEST_E2E_TARGETS@").split(';') config.hip_platform = "@HIP_PLATFORM@"