From 158f69026ea4ffd53c5c486e818a685be211d1e9 Mon Sep 17 00:00:00 2001 From: "Kornev, Nikita" Date: Tue, 16 Sep 2025 15:03:33 +0200 Subject: [PATCH] [SYCL][E2E] Follow-up to pull/20084 Forgot to include this change into the patch. --- sycl/test-e2e/Experimental/clock.cpp | 1 + sycl/test-e2e/format.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sycl/test-e2e/Experimental/clock.cpp b/sycl/test-e2e/Experimental/clock.cpp index 604900d87294a..60fb71cb049a2 100644 --- a/sycl/test-e2e/Experimental/clock.cpp +++ b/sycl/test-e2e/Experimental/clock.cpp @@ -1,3 +1,4 @@ +// REQUIRES-INTEL-DRIVER: cpu: 2026 // REQUIRES: aspect-usm_shared_allocations // REQUIRES: aspect-ext_oneapi_clock_sub_group || aspect-ext_oneapi_clock_work_group || aspect-ext_oneapi_clock_device // RUN: %{build} -o %t.out diff --git a/sycl/test-e2e/format.py b/sycl/test-e2e/format.py index b23442bbba066..b503108f937b1 100644 --- a/sycl/test-e2e/format.py +++ b/sycl/test-e2e/format.py @@ -42,11 +42,11 @@ def parse_min_intel_driver_req(line_number, line, output): # Return "win" version as (101, 4502) to ease later comparison. output["win"] = tuple(map(int, win.group(1).split("."))) - cpu = re.search(r"cpu: *([0-9]{4})", line) + cpu = re.search(r"cpu:\s*([^\s]+)", line) if cpu: if "cpu" in output: raise ValueError('Multiple entries for "cpu" version') - output["cpu"] = int(cpu.group(1)) + output["cpu"] = cpu.group(1) return output