Skip to content

Commit ffd8464

Browse files
authored
[NFC][SYCL][ESIMD]Enable some tests on dg2 (#12373)
1 parent b788a3f commit ffd8464

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

sycl/test-e2e/ESIMD/lsc/local_accessor_atomic_smoke_cmpxchg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//===----------------------------------------------------------------------===//
88
// This test checks local accessor cmpxchg atomic operations.
99
//===----------------------------------------------------------------------===//
10-
// REQUIRES: gpu-intel-pvc
10+
// REQUIRES: gpu-intel-pvc || gpu-intel-dg2
1111
// RUN: %{build} -o %t.out
1212
// RUN: %{run} %t.out
1313
//

sycl/test-e2e/ESIMD/lsc/lsc_slm_gather.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// REQUIRES: gpu-intel-pvc
1+
// REQUIRES: gpu-intel-pvc || gpu-intel-dg2
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
44

@@ -56,9 +56,10 @@ int main() {
5656

5757
Passed &= test_gather<float, !CheckMerging>(Q);
5858
Passed &= test_gather<float, CheckMerging>(Q);
59-
60-
Passed &= test_gather<double, !CheckMerging>(Q);
61-
Passed &= test_gather<double, CheckMerging>(Q);
59+
if (Q.get_device().has(sycl::aspect::fp64)) {
60+
Passed &= test_gather<double, !CheckMerging>(Q);
61+
Passed &= test_gather<double, CheckMerging>(Q);
62+
}
6263

6364
Passed &= test_gather<sycl::ext::intel::experimental::esimd::tfloat32,
6465
!CheckMerging>(Q);

0 commit comments

Comments
 (0)