File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 7
7
// ===----------------------------------------------------------------------===//
8
8
// This test checks local accessor cmpxchg atomic operations.
9
9
// ===----------------------------------------------------------------------===//
10
- // REQUIRES: gpu-intel-pvc
10
+ // REQUIRES: gpu-intel-pvc || gpu-intel-dg2
11
11
// RUN: %{build} -o %t.out
12
12
// RUN: %{run} %t.out
13
13
//
Original file line number Diff line number Diff line change 1
- // REQUIRES: gpu-intel-pvc
1
+ // REQUIRES: gpu-intel-pvc || gpu-intel-dg2
2
2
// RUN: %{build} -o %t.out
3
3
// RUN: %{run} %t.out
4
4
@@ -56,9 +56,10 @@ int main() {
56
56
57
57
Passed &= test_gather<float , !CheckMerging>(Q);
58
58
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
+ }
62
63
63
64
Passed &= test_gather<sycl::ext::intel::experimental::esimd::tfloat32,
64
65
!CheckMerging>(Q);
You can’t perform that action at this time.
0 commit comments