From 2aaeb5f4a766c5e8de2635b181a69e13c7db1953 Mon Sep 17 00:00:00 2001 From: "Ahn, Dongkyun" Date: Mon, 25 Apr 2022 12:26:33 -0700 Subject: [PATCH 1/3] Adding 'esimd_emulator' feature for LSC tests --- SYCL/ESIMD/lsc/lsc_block_load_u16.cpp | 2 +- SYCL/ESIMD/lsc/lsc_block_load_u32.cpp | 2 +- SYCL/ESIMD/lsc/lsc_block_load_u64.cpp | 2 +- SYCL/ESIMD/lsc/lsc_block_load_u8.cpp | 2 +- SYCL/ESIMD/lsc/lsc_block_prefetch_u16.cpp | 2 +- SYCL/ESIMD/lsc/lsc_block_prefetch_u32.cpp | 2 +- SYCL/ESIMD/lsc/lsc_block_prefetch_u64.cpp | 2 +- SYCL/ESIMD/lsc/lsc_block_prefetch_u8.cpp | 2 +- SYCL/ESIMD/lsc/lsc_block_store_u16.cpp | 2 +- SYCL/ESIMD/lsc/lsc_block_store_u32.cpp | 2 +- SYCL/ESIMD/lsc/lsc_block_store_u8.cpp | 2 +- SYCL/ESIMD/lsc/lsc_slm.cpp | 2 +- SYCL/ESIMD/lsc/lsc_surf.cpp | 2 +- SYCL/ESIMD/lsc/lsc_surf_load_u16u32.cpp | 2 +- SYCL/ESIMD/lsc/lsc_surf_load_u32.cpp | 2 +- SYCL/ESIMD/lsc/lsc_surf_load_u64.cpp | 2 +- SYCL/ESIMD/lsc/lsc_surf_load_u8u32.cpp | 2 +- SYCL/ESIMD/lsc/lsc_surf_prefetch_u16u32.cpp | 2 +- SYCL/ESIMD/lsc/lsc_surf_prefetch_u32.cpp | 2 +- SYCL/ESIMD/lsc/lsc_surf_prefetch_u64.cpp | 2 +- SYCL/ESIMD/lsc/lsc_surf_prefetch_u8u32.cpp | 2 +- SYCL/ESIMD/lsc/lsc_surf_store_u16u32.cpp | 2 +- SYCL/ESIMD/lsc/lsc_surf_store_u32.cpp | 2 +- SYCL/ESIMD/lsc/lsc_surf_store_u64.cpp | 2 +- SYCL/ESIMD/lsc/lsc_surf_store_u8u32.cpp | 2 +- SYCL/ESIMD/lsc/lsc_usm.cpp | 2 +- SYCL/ESIMD/lsc/lsc_usm_2d.cpp | 2 +- SYCL/ESIMD/lsc/lsc_usm_atomic_cachehint.cpp | 2 +- SYCL/ESIMD/lsc/lsc_usm_load_u16u32.cpp | 2 +- SYCL/ESIMD/lsc/lsc_usm_load_u32.cpp | 2 +- SYCL/ESIMD/lsc/lsc_usm_load_u64.cpp | 2 +- SYCL/ESIMD/lsc/lsc_usm_load_u8u32.cpp | 2 +- SYCL/ESIMD/lsc/lsc_usm_prefetch_u16u32.cpp | 2 +- SYCL/ESIMD/lsc/lsc_usm_prefetch_u32.cpp | 2 +- SYCL/ESIMD/lsc/lsc_usm_prefetch_u64.cpp | 2 +- SYCL/ESIMD/lsc/lsc_usm_prefetch_u8u32.cpp | 2 +- SYCL/ESIMD/lsc/lsc_usm_store_u16u32.cpp | 2 +- SYCL/ESIMD/lsc/lsc_usm_store_u32.cpp | 2 +- SYCL/ESIMD/lsc/lsc_usm_store_u64.cpp | 2 +- SYCL/ESIMD/lsc/lsc_usm_store_u8u32.cpp | 2 +- 40 files changed, 40 insertions(+), 40 deletions(-) diff --git a/SYCL/ESIMD/lsc/lsc_block_load_u16.cpp b/SYCL/ESIMD/lsc/lsc_block_load_u16.cpp index 184098b42a..e687fe46ff 100644 --- a/SYCL/ESIMD/lsc/lsc_block_load_u16.cpp +++ b/SYCL/ESIMD/lsc/lsc_block_load_u16.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_block_load_u32.cpp b/SYCL/ESIMD/lsc/lsc_block_load_u32.cpp index 73fdbd6a3b..c1e759c254 100644 --- a/SYCL/ESIMD/lsc/lsc_block_load_u32.cpp +++ b/SYCL/ESIMD/lsc/lsc_block_load_u32.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_block_load_u64.cpp b/SYCL/ESIMD/lsc/lsc_block_load_u64.cpp index f789a5103a..e85ebf587e 100644 --- a/SYCL/ESIMD/lsc/lsc_block_load_u64.cpp +++ b/SYCL/ESIMD/lsc/lsc_block_load_u64.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_block_load_u8.cpp b/SYCL/ESIMD/lsc/lsc_block_load_u8.cpp index 9ec2342fcb..2e363f7ffd 100644 --- a/SYCL/ESIMD/lsc/lsc_block_load_u8.cpp +++ b/SYCL/ESIMD/lsc/lsc_block_load_u8.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_block_prefetch_u16.cpp b/SYCL/ESIMD/lsc/lsc_block_prefetch_u16.cpp index 2399a8ddd0..0520d599a7 100644 --- a/SYCL/ESIMD/lsc/lsc_block_prefetch_u16.cpp +++ b/SYCL/ESIMD/lsc/lsc_block_prefetch_u16.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_block_prefetch_u32.cpp b/SYCL/ESIMD/lsc/lsc_block_prefetch_u32.cpp index c5f3ae7f76..64a3edc1cc 100644 --- a/SYCL/ESIMD/lsc/lsc_block_prefetch_u32.cpp +++ b/SYCL/ESIMD/lsc/lsc_block_prefetch_u32.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_block_prefetch_u64.cpp b/SYCL/ESIMD/lsc/lsc_block_prefetch_u64.cpp index 6961a7fac2..b4f04e863e 100644 --- a/SYCL/ESIMD/lsc/lsc_block_prefetch_u64.cpp +++ b/SYCL/ESIMD/lsc/lsc_block_prefetch_u64.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_block_prefetch_u8.cpp b/SYCL/ESIMD/lsc/lsc_block_prefetch_u8.cpp index 81387fba29..76a6ce8ba8 100644 --- a/SYCL/ESIMD/lsc/lsc_block_prefetch_u8.cpp +++ b/SYCL/ESIMD/lsc/lsc_block_prefetch_u8.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_block_store_u16.cpp b/SYCL/ESIMD/lsc/lsc_block_store_u16.cpp index a35ccfb53c..e468d48148 100644 --- a/SYCL/ESIMD/lsc/lsc_block_store_u16.cpp +++ b/SYCL/ESIMD/lsc/lsc_block_store_u16.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_block_store_u32.cpp b/SYCL/ESIMD/lsc/lsc_block_store_u32.cpp index 5597ecac45..cb693762ee 100644 --- a/SYCL/ESIMD/lsc/lsc_block_store_u32.cpp +++ b/SYCL/ESIMD/lsc/lsc_block_store_u32.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_block_store_u8.cpp b/SYCL/ESIMD/lsc/lsc_block_store_u8.cpp index d60a751baa..59652143e0 100644 --- a/SYCL/ESIMD/lsc/lsc_block_store_u8.cpp +++ b/SYCL/ESIMD/lsc/lsc_block_store_u8.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_slm.cpp b/SYCL/ESIMD/lsc/lsc_slm.cpp index 9f8b1750a5..722454f267 100644 --- a/SYCL/ESIMD/lsc/lsc_slm.cpp +++ b/SYCL/ESIMD/lsc/lsc_slm.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_surf.cpp b/SYCL/ESIMD/lsc/lsc_surf.cpp index 39d721ca34..30cb8230e3 100644 --- a/SYCL/ESIMD/lsc/lsc_surf.cpp +++ b/SYCL/ESIMD/lsc/lsc_surf.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_surf_load_u16u32.cpp b/SYCL/ESIMD/lsc/lsc_surf_load_u16u32.cpp index 0083d070d4..66fd3d3024 100644 --- a/SYCL/ESIMD/lsc/lsc_surf_load_u16u32.cpp +++ b/SYCL/ESIMD/lsc/lsc_surf_load_u16u32.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_surf_load_u32.cpp b/SYCL/ESIMD/lsc/lsc_surf_load_u32.cpp index 46922f96dc..aa9b25bb18 100644 --- a/SYCL/ESIMD/lsc/lsc_surf_load_u32.cpp +++ b/SYCL/ESIMD/lsc/lsc_surf_load_u32.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_surf_load_u64.cpp b/SYCL/ESIMD/lsc/lsc_surf_load_u64.cpp index b1fb41db6a..f4b4b4d991 100644 --- a/SYCL/ESIMD/lsc/lsc_surf_load_u64.cpp +++ b/SYCL/ESIMD/lsc/lsc_surf_load_u64.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_surf_load_u8u32.cpp b/SYCL/ESIMD/lsc/lsc_surf_load_u8u32.cpp index 36812d57f3..baf07dbbc5 100644 --- a/SYCL/ESIMD/lsc/lsc_surf_load_u8u32.cpp +++ b/SYCL/ESIMD/lsc/lsc_surf_load_u8u32.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_surf_prefetch_u16u32.cpp b/SYCL/ESIMD/lsc/lsc_surf_prefetch_u16u32.cpp index c36da7efa9..9ef5be6d3d 100644 --- a/SYCL/ESIMD/lsc/lsc_surf_prefetch_u16u32.cpp +++ b/SYCL/ESIMD/lsc/lsc_surf_prefetch_u16u32.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_surf_prefetch_u32.cpp b/SYCL/ESIMD/lsc/lsc_surf_prefetch_u32.cpp index 56ab070080..0c1f5b3c65 100644 --- a/SYCL/ESIMD/lsc/lsc_surf_prefetch_u32.cpp +++ b/SYCL/ESIMD/lsc/lsc_surf_prefetch_u32.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_surf_prefetch_u64.cpp b/SYCL/ESIMD/lsc/lsc_surf_prefetch_u64.cpp index c8a7a70c69..f18a6eacfc 100644 --- a/SYCL/ESIMD/lsc/lsc_surf_prefetch_u64.cpp +++ b/SYCL/ESIMD/lsc/lsc_surf_prefetch_u64.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_surf_prefetch_u8u32.cpp b/SYCL/ESIMD/lsc/lsc_surf_prefetch_u8u32.cpp index 0b13ea06bf..47abb43cd0 100644 --- a/SYCL/ESIMD/lsc/lsc_surf_prefetch_u8u32.cpp +++ b/SYCL/ESIMD/lsc/lsc_surf_prefetch_u8u32.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_surf_store_u16u32.cpp b/SYCL/ESIMD/lsc/lsc_surf_store_u16u32.cpp index 3ec1cae1b9..a1772b5c19 100644 --- a/SYCL/ESIMD/lsc/lsc_surf_store_u16u32.cpp +++ b/SYCL/ESIMD/lsc/lsc_surf_store_u16u32.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_surf_store_u32.cpp b/SYCL/ESIMD/lsc/lsc_surf_store_u32.cpp index dc50e796c2..2aa1245349 100644 --- a/SYCL/ESIMD/lsc/lsc_surf_store_u32.cpp +++ b/SYCL/ESIMD/lsc/lsc_surf_store_u32.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_surf_store_u64.cpp b/SYCL/ESIMD/lsc/lsc_surf_store_u64.cpp index 447238e95c..ceaf0e7f84 100644 --- a/SYCL/ESIMD/lsc/lsc_surf_store_u64.cpp +++ b/SYCL/ESIMD/lsc/lsc_surf_store_u64.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_surf_store_u8u32.cpp b/SYCL/ESIMD/lsc/lsc_surf_store_u8u32.cpp index 611e21470b..8e7e6c4aca 100644 --- a/SYCL/ESIMD/lsc/lsc_surf_store_u8u32.cpp +++ b/SYCL/ESIMD/lsc/lsc_surf_store_u8u32.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_usm.cpp b/SYCL/ESIMD/lsc/lsc_usm.cpp index d9226af0fc..412fbed921 100644 --- a/SYCL/ESIMD/lsc/lsc_usm.cpp +++ b/SYCL/ESIMD/lsc/lsc_usm.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_usm_2d.cpp b/SYCL/ESIMD/lsc/lsc_usm_2d.cpp index daf3e9dac9..65ed58c50d 100644 --- a/SYCL/ESIMD/lsc/lsc_usm_2d.cpp +++ b/SYCL/ESIMD/lsc/lsc_usm_2d.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_usm_atomic_cachehint.cpp b/SYCL/ESIMD/lsc/lsc_usm_atomic_cachehint.cpp index 6fb0a85628..9f0ae9d61c 100644 --- a/SYCL/ESIMD/lsc/lsc_usm_atomic_cachehint.cpp +++ b/SYCL/ESIMD/lsc/lsc_usm_atomic_cachehint.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_usm_load_u16u32.cpp b/SYCL/ESIMD/lsc/lsc_usm_load_u16u32.cpp index 1e79a8d5fe..ec3effb063 100644 --- a/SYCL/ESIMD/lsc/lsc_usm_load_u16u32.cpp +++ b/SYCL/ESIMD/lsc/lsc_usm_load_u16u32.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_usm_load_u32.cpp b/SYCL/ESIMD/lsc/lsc_usm_load_u32.cpp index 1a4560d437..be017d517b 100644 --- a/SYCL/ESIMD/lsc/lsc_usm_load_u32.cpp +++ b/SYCL/ESIMD/lsc/lsc_usm_load_u32.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_usm_load_u64.cpp b/SYCL/ESIMD/lsc/lsc_usm_load_u64.cpp index 66d278af36..c1306cdfe3 100644 --- a/SYCL/ESIMD/lsc/lsc_usm_load_u64.cpp +++ b/SYCL/ESIMD/lsc/lsc_usm_load_u64.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_usm_load_u8u32.cpp b/SYCL/ESIMD/lsc/lsc_usm_load_u8u32.cpp index d19dd42deb..5405eece19 100644 --- a/SYCL/ESIMD/lsc/lsc_usm_load_u8u32.cpp +++ b/SYCL/ESIMD/lsc/lsc_usm_load_u8u32.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_usm_prefetch_u16u32.cpp b/SYCL/ESIMD/lsc/lsc_usm_prefetch_u16u32.cpp index 818e7647b2..f36f2decd8 100644 --- a/SYCL/ESIMD/lsc/lsc_usm_prefetch_u16u32.cpp +++ b/SYCL/ESIMD/lsc/lsc_usm_prefetch_u16u32.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_usm_prefetch_u32.cpp b/SYCL/ESIMD/lsc/lsc_usm_prefetch_u32.cpp index ae0ac9fde8..7751b17743 100644 --- a/SYCL/ESIMD/lsc/lsc_usm_prefetch_u32.cpp +++ b/SYCL/ESIMD/lsc/lsc_usm_prefetch_u32.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_usm_prefetch_u64.cpp b/SYCL/ESIMD/lsc/lsc_usm_prefetch_u64.cpp index e63858d81a..1d31de7bac 100644 --- a/SYCL/ESIMD/lsc/lsc_usm_prefetch_u64.cpp +++ b/SYCL/ESIMD/lsc/lsc_usm_prefetch_u64.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_usm_prefetch_u8u32.cpp b/SYCL/ESIMD/lsc/lsc_usm_prefetch_u8u32.cpp index a6dacd8f50..b69b81931f 100644 --- a/SYCL/ESIMD/lsc/lsc_usm_prefetch_u8u32.cpp +++ b/SYCL/ESIMD/lsc/lsc_usm_prefetch_u8u32.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_usm_store_u16u32.cpp b/SYCL/ESIMD/lsc/lsc_usm_store_u16u32.cpp index 382829133e..4baedc916c 100644 --- a/SYCL/ESIMD/lsc/lsc_usm_store_u16u32.cpp +++ b/SYCL/ESIMD/lsc/lsc_usm_store_u16u32.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_usm_store_u32.cpp b/SYCL/ESIMD/lsc/lsc_usm_store_u32.cpp index 5d423efb0f..e539a7407e 100644 --- a/SYCL/ESIMD/lsc/lsc_usm_store_u32.cpp +++ b/SYCL/ESIMD/lsc/lsc_usm_store_u32.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_usm_store_u64.cpp b/SYCL/ESIMD/lsc/lsc_usm_store_u64.cpp index 50e7f7e9ed..df57d4619e 100644 --- a/SYCL/ESIMD/lsc/lsc_usm_store_u64.cpp +++ b/SYCL/ESIMD/lsc/lsc_usm_store_u64.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_usm_store_u8u32.cpp b/SYCL/ESIMD/lsc/lsc_usm_store_u8u32.cpp index 69a104e00d..e71c9583b2 100644 --- a/SYCL/ESIMD/lsc/lsc_usm_store_u8u32.cpp +++ b/SYCL/ESIMD/lsc/lsc_usm_store_u8u32.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: gpu-intel-pvc +// REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out From ee106deda6e24efcf492af1b48842ccdac5750bb Mon Sep 17 00:00:00 2001 From: "Ahn, Dongkyun" Date: Wed, 4 May 2022 12:20:31 -0700 Subject: [PATCH 2/3] XFAIL marking for unsupported lsc-atomic tests --- SYCL/ESIMD/lsc/lsc_slm.cpp | 2 ++ SYCL/ESIMD/lsc/lsc_surf.cpp | 2 ++ SYCL/ESIMD/lsc/lsc_usm.cpp | 2 ++ SYCL/ESIMD/lsc/lsc_usm_atomic_cachehint.cpp | 2 ++ 4 files changed, 8 insertions(+) diff --git a/SYCL/ESIMD/lsc/lsc_slm.cpp b/SYCL/ESIMD/lsc/lsc_slm.cpp index 722454f267..23464c2eb4 100644 --- a/SYCL/ESIMD/lsc/lsc_slm.cpp +++ b/SYCL/ESIMD/lsc/lsc_slm.cpp @@ -7,6 +7,8 @@ //===----------------------------------------------------------------------===// // REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip +// TODO : esimd_emulator does not support lsc-atomic yet +// XFAIL: esimd_emulator // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_surf.cpp b/SYCL/ESIMD/lsc/lsc_surf.cpp index 30cb8230e3..28b876f5df 100644 --- a/SYCL/ESIMD/lsc/lsc_surf.cpp +++ b/SYCL/ESIMD/lsc/lsc_surf.cpp @@ -7,6 +7,8 @@ //===----------------------------------------------------------------------===// // REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip +// TODO : esimd_emulator does not support lsc-atomic yet +// XFAIL: esimd_emulator // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_usm.cpp b/SYCL/ESIMD/lsc/lsc_usm.cpp index 412fbed921..523635387a 100644 --- a/SYCL/ESIMD/lsc/lsc_usm.cpp +++ b/SYCL/ESIMD/lsc/lsc_usm.cpp @@ -7,6 +7,8 @@ //===----------------------------------------------------------------------===// // REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip +// TODO : esimd_emulator does not support lsc-atomic yet +// XFAIL: esimd_emulator // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_usm_atomic_cachehint.cpp b/SYCL/ESIMD/lsc/lsc_usm_atomic_cachehint.cpp index 9f0ae9d61c..3868a34c1a 100644 --- a/SYCL/ESIMD/lsc/lsc_usm_atomic_cachehint.cpp +++ b/SYCL/ESIMD/lsc/lsc_usm_atomic_cachehint.cpp @@ -7,6 +7,8 @@ //===----------------------------------------------------------------------===// // REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip +// TODO : esimd_emulator does not support lsc-atomic yet +// XFAIL: esimd_emulator // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out From 43d53c4cbd3aa3cb22c8b1f14bac039cd8d66bdf Mon Sep 17 00:00:00 2001 From: "Ahn, Dongkyun" Date: Mon, 15 Aug 2022 16:16:05 -0700 Subject: [PATCH 3/3] Enabling LSC-Atomic tests - lsc_usm_atomic_cachehint.cpp is excluded as kernel_bundle() is not supported under ESIMD_EMULATOR --- SYCL/ESIMD/lsc/lsc_slm.cpp | 1 - SYCL/ESIMD/lsc/lsc_surf.cpp | 1 - SYCL/ESIMD/lsc/lsc_usm.cpp | 1 - SYCL/ESIMD/lsc/lsc_usm_atomic_cachehint.cpp | 2 +- 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/SYCL/ESIMD/lsc/lsc_slm.cpp b/SYCL/ESIMD/lsc/lsc_slm.cpp index 23464c2eb4..d6e38e729d 100644 --- a/SYCL/ESIMD/lsc/lsc_slm.cpp +++ b/SYCL/ESIMD/lsc/lsc_slm.cpp @@ -8,7 +8,6 @@ // REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // TODO : esimd_emulator does not support lsc-atomic yet -// XFAIL: esimd_emulator // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_surf.cpp b/SYCL/ESIMD/lsc/lsc_surf.cpp index 28b876f5df..6128c15d16 100644 --- a/SYCL/ESIMD/lsc/lsc_surf.cpp +++ b/SYCL/ESIMD/lsc/lsc_surf.cpp @@ -8,7 +8,6 @@ // REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // TODO : esimd_emulator does not support lsc-atomic yet -// XFAIL: esimd_emulator // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_usm.cpp b/SYCL/ESIMD/lsc/lsc_usm.cpp index 523635387a..d4a6c39144 100644 --- a/SYCL/ESIMD/lsc/lsc_usm.cpp +++ b/SYCL/ESIMD/lsc/lsc_usm.cpp @@ -8,7 +8,6 @@ // REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip // TODO : esimd_emulator does not support lsc-atomic yet -// XFAIL: esimd_emulator // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/ESIMD/lsc/lsc_usm_atomic_cachehint.cpp b/SYCL/ESIMD/lsc/lsc_usm_atomic_cachehint.cpp index 3868a34c1a..8fe6df14fe 100644 --- a/SYCL/ESIMD/lsc/lsc_usm_atomic_cachehint.cpp +++ b/SYCL/ESIMD/lsc/lsc_usm_atomic_cachehint.cpp @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// // REQUIRES: gpu-intel-pvc || esimd_emulator // UNSUPPORTED: cuda || hip -// TODO : esimd_emulator does not support lsc-atomic yet +// TODO : Test uses 'kernel_bundle' that is not supported in ESIMD_EMULATOR // XFAIL: esimd_emulator // RUN: %clangxx -fsycl %s -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out