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

Commit 7757644

Browse files
[SYCL][ESIMD][EMU] LSC Atomic update for emulator backend (#1274)
* [SYCL][ESIMD][EMU] LSC Atomic update for emulator backend - Argument order fix for cmpxchg - Enabling lsc_fence.cpp test * UNSUPPORTED for esimd_emulator due to random timeout
1 parent 05700f0 commit 7757644

File tree

5 files changed

+7
-9
lines changed

5 files changed

+7
-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 unsupported __esimd_svm_atomic0/1/2
13-
// XFAIL: esimd_emulator
12+
// TODO: esimd_emulator fails due to random timeouts (_XFAIL_: esimd_emulator)
13+
// UNSUPPORTED: 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: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
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
1412
// RUN: %clangxx -fsycl %s -o %t.out
1513
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1614

SYCL/ESIMD/lsc/atomic_cmpxchg.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
// This test checks LSC compare-and-exchange atomic operations.
99
//===----------------------------------------------------------------------===//
1010
// REQUIRES: gpu-intel-pvc
11-
// TODO: esimd_emulator fails due to unsupported __esimd_svm_atomic0/1/2
12-
// XFAIL: esimd_emulator
11+
// TODO: esimd_emulator fails due to random timeouts (_XFAIL_: esimd_emulator)
12+
// UNSUPPORTED: esimd_emulator
1313
// RUN: %clangxx -fsycl %s -o %t.out
1414
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1515

SYCL/ESIMD/lsc/atomic_smoke.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
// This test checks LSC atomic operations.
99
//===----------------------------------------------------------------------===//
1010
// REQUIRES: gpu-intel-pvc
11-
// TODO: esimd_emulator fails due to unsupported __esimd_svm_atomic0/1/2
12-
// XFAIL: esimd_emulator
11+
// TODO: esimd_emulator fails due to random timeouts (_XFAIL_: esimd_emulator)
12+
// UNSUPPORTED: esimd_emulator
1313
// RUN: %clangxx -fsycl %s -o %t.out
1414
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1515

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
8+
// REQUIRES: gpu-intel-pvc || esimd_emulator
99
// UNSUPPORTED: cuda || hip
1010
// RUN: %clangxx -fsycl %s -o %t.out
1111
// RUN: %GPU_RUN_PLACEHOLDER %t.out

0 commit comments

Comments
 (0)