Skip to content

Commit a8a4e4a

Browse files
authored
[SYCL][ESIMD][E2E] Add driver version check to rdtsc test (#15857)
We test on some platforms where the driver is too old. Also cleaned up the test a bit. Manually verified this version is right, we have it in CI here already too. Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
1 parent d34402a commit a8a4e4a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

sycl/test-e2e/ESIMD/rdtsc.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// RUN: %{build} -o %t.out
2-
// RUN: %{run} %t.out
31
//==- rdtsc.cpp - Test to verify rdtsc0 and sr0 functionlity----------------==//
42
//
53
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
@@ -8,6 +6,11 @@
86
//
97
//===----------------------------------------------------------------------===//
108

9+
// RUN: %{build} -o %t.out
10+
// RUN: %{run} %t.out
11+
12+
// REQUIRES-INTEL-DRIVER: lin: 28690
13+
1114
// This is basic test to validate rdtsc function.
1215

1316
#include <cmath>

0 commit comments

Comments
 (0)