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

Revert "[SYCL][ESIMD][EMU] LSC Atomic update for emulator backend (#1… #1264

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions SYCL/ESIMD/dword_atomic_cmpxchg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to random timeouts (_XFAIL_: esimd_emulator)
// UNSUPPORTED: esimd_emulator
// TODO: esimd_emulator fails due to unsupported __esimd_svm_atomic0/1/2
// XFAIL: esimd_emulator
// RUN: %clangxx -fsycl %s -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out

Expand Down
2 changes: 2 additions & 0 deletions SYCL/ESIMD/dword_atomic_smoke.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to unsupported __esimd_svm_atomic0/1/2
// XFAIL: esimd_emulator
// RUN: %clangxx -fsycl %s -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out

Expand Down
4 changes: 2 additions & 2 deletions SYCL/ESIMD/lsc/Inputs/lsc_surf.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ int main() {
lsc_atomic_update<atomic_op::inc, int>(access_2, offsets, pred);
lsc_atomic_update<atomic_op::add, int>(access_3, offsets, add,
pred);
lsc_atomic_update<atomic_op::cmpxchg, int>(access_4, offsets, swap,
compare, pred);
lsc_atomic_update<atomic_op::cmpxchg, int>(access_4, offsets,
compare, swap, pred);
});
});
q.wait();
Expand Down
2 changes: 1 addition & 1 deletion SYCL/ESIMD/lsc/lsc_fence.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
// REQUIRES: gpu-intel-pvc || esimd_emulator
// REQUIRES: gpu-intel-pvc
// UNSUPPORTED: cuda || hip
// RUN: %clangxx -fsycl %s -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
Expand Down
4 changes: 2 additions & 2 deletions SYCL/ESIMD/lsc/lsc_slm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ int main() {
lsc_block_store<int, SIMDSize>(access_3, offset, data_3);

lsc_slm_block_store<int, SIMDSize>(offset, data);
lsc_slm_atomic_update<atomic_op::cmpxchg, int>(offsets, swap,
compare, pred);
lsc_slm_atomic_update<atomic_op::cmpxchg, int>(offsets, compare,
swap, pred);
auto data_4 = lsc_slm_block_load<int, SIMDSize>(offset);
lsc_block_store<int, SIMDSize>(access_4, offset, data_4);
});
Expand Down
4 changes: 2 additions & 2 deletions SYCL/ESIMD/lsc/lsc_usm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ int main() {

lsc_atomic_update<atomic_op::inc, int>(vec_2, offsets, pred);
lsc_atomic_update<atomic_op::add, int>(vec_3, offsets, add, pred);
lsc_atomic_update<atomic_op::cmpxchg, int>(vec_4, offsets, swap,
compare, pred);
lsc_atomic_update<atomic_op::cmpxchg, int>(vec_4, offsets, compare,
swap, pred);
});
});
q.wait();
Expand Down