Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 3ac96b5

Browse files
Revert "[SYCL][ESIMD]LSC Atomic update for emulator backend (#1259)"
PR#1259 was based on changes applied in intel/llvm-PR#6661. As the PR#6661 is still under review (as of Sept 14th), changes from PR#1259 causes unexpected failures for the ESIMD_EMULATOR backend for other PRs in intel/llvm, such as PR#6780 in above comment.
1 parent 91e3d0e commit 3ac96b5

File tree

6 files changed

+11
-9
lines changed

6 files changed

+11
-9
lines changed

SYCL/ESIMD/dword_atomic_cmpxchg.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
//===----------------------------------------------------------------------===//
1010
// REQUIRES: gpu
1111
// UNSUPPORTED: cuda || hip
12-
// TODO: esimd_emulator fails due to random timeouts (_XFAIL_: esimd_emulator)
13-
// UNSUPPORTED: esimd_emulator
12+
// TODO: esimd_emulator fails due to unsupported __esimd_svm_atomic0/1/2
13+
// XFAIL: esimd_emulator
1414
// RUN: %clangxx -fsycl %s -o %t.out
1515
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1616

SYCL/ESIMD/dword_atomic_smoke.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
//===----------------------------------------------------------------------===//
1010
// REQUIRES: gpu
1111
// UNSUPPORTED: cuda || hip
12+
// TODO: esimd_emulator fails due to unsupported __esimd_svm_atomic0/1/2
13+
// XFAIL: esimd_emulator
1214
// RUN: %clangxx -fsycl %s -o %t.out
1315
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1416

SYCL/ESIMD/lsc/Inputs/lsc_surf.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ int main() {
7575
lsc_atomic_update<atomic_op::inc, int>(access_2, offsets, pred);
7676
lsc_atomic_update<atomic_op::add, int>(access_3, offsets, add,
7777
pred);
78-
lsc_atomic_update<atomic_op::cmpxchg, int>(access_4, offsets, swap,
79-
compare, pred);
78+
lsc_atomic_update<atomic_op::cmpxchg, int>(access_4, offsets,
79+
compare, swap, pred);
8080
});
8181
});
8282
q.wait();

SYCL/ESIMD/lsc/lsc_fence.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// REQUIRES: gpu-intel-pvc || esimd_emulator
8+
// REQUIRES: gpu-intel-pvc
99
// UNSUPPORTED: cuda || hip
1010
// RUN: %clangxx -fsycl %s -o %t.out
1111
// RUN: %GPU_RUN_PLACEHOLDER %t.out

SYCL/ESIMD/lsc/lsc_slm.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ int main() {
8181
lsc_block_store<int, SIMDSize>(access_3, offset, data_3);
8282

8383
lsc_slm_block_store<int, SIMDSize>(offset, data);
84-
lsc_slm_atomic_update<atomic_op::cmpxchg, int>(offsets, swap,
85-
compare, pred);
84+
lsc_slm_atomic_update<atomic_op::cmpxchg, int>(offsets, compare,
85+
swap, pred);
8686
auto data_4 = lsc_slm_block_load<int, SIMDSize>(offset);
8787
lsc_block_store<int, SIMDSize>(access_4, offset, data_4);
8888
});

SYCL/ESIMD/lsc/lsc_usm.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ int main() {
6969

7070
lsc_atomic_update<atomic_op::inc, int>(vec_2, offsets, pred);
7171
lsc_atomic_update<atomic_op::add, int>(vec_3, offsets, add, pred);
72-
lsc_atomic_update<atomic_op::cmpxchg, int>(vec_4, offsets, swap,
73-
compare, pred);
72+
lsc_atomic_update<atomic_op::cmpxchg, int>(vec_4, offsets, compare,
73+
swap, pred);
7474
});
7575
});
7676
q.wait();

0 commit comments

Comments
 (0)