Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
6197b60
Duplicating ESIMD samples for esimd_emulator
dongkyunahn-intel Dec 13, 2021
c5b6567
Adding 'esimd_emualtor' as supported SYCL backend
dongkyunahn-intel Jan 18, 2022
68c4c1f
Revert "Adding 'esimd_emualtor' as supported SYCL backend"
dongkyunahn-intel Jan 19, 2022
08c0158
Reverting changes in 'SYCL/ESIMD/sycl_esimd_mix.cpp'
dongkyunahn-intel Jan 19, 2022
1febb1b
Fixing typo in comment for SYCL/ESIMD/vadd_1d.cpp
dongkyunahn-intel Jan 19, 2022
647368d
Apply suggestions from code review
dongkyunahn-intel Jan 25, 2022
bbc31d9
Marking ESIMD kernels 'UNSUPPORTED' for esimd_emulator backend
dongkyunahn-intel Jan 25, 2022
18df6bb
clang-format error fix
dongkyunahn-intel Jan 25, 2022
d61e3be
Merge branch 'intel' of https://github.com/intel/llvm-test-suite into…
dongkyunahn-intel Jan 25, 2022
b5bb143
XFAIL markups replacing UNSUPPORTED
dongkyunahn-intel Jan 25, 2022
c213138
clang-format fix
dongkyunahn-intel Jan 27, 2022
092f7c1
'esimd_emulator' as deprecated name for 'ext_intel_esimd_emulator'
dongkyunahn-intel Jan 27, 2022
cb09441
Missing TODO comments for esimd_emulator support markup
dongkyunahn-intel Jan 27, 2022
c53aa85
Adding dummy codes to invoke piProgramBuild for vc_codegen
dongkyunahn-intel Jan 27, 2022
697e3bd
Removing HOST_RUN_PLACEHOLDER for ESIMD Kernels
dongkyunahn-intel Jan 28, 2022
bbdb607
Recovering 'esimd_check_vc_codegen.cpp' to its initial import version
dongkyunahn-intel Jan 28, 2022
a4c51cc
Merge branch 'intel' of https://github.com/intel/llvm-test-suite into…
dongkyunahn-intel Jan 31, 2022
e70bab1
Merge branch 'intel' of https://github.com/intel/llvm-test-suite into…
dongkyunahn-intel Feb 4, 2022
a97e08f
Changing 'UNSUPPORTED' to 'XFAIL' for esimd_emulator backend
dongkyunahn-intel Feb 4, 2022
b6601cf
Marking 'XFAIL' for newly added tests
dongkyunahn-intel Feb 5, 2022
6580013
Revert "Removing HOST_RUN_PLACEHOLDER for ESIMD Kernels"
dongkyunahn-intel Feb 5, 2022
4c955cf
Revert "'esimd_emulator' as deprecated name for 'ext_intel_esimd_emul…
dongkyunahn-intel Feb 5, 2022
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
2 changes: 2 additions & 0 deletions SYCL/ESIMD/BitonicSortK.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to unimplemented __esimd_oword_ld_unaligned
// 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/accessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to unimplemented __esimd_oword_ld_unaligned
// XFAIL: esimd_emulator
// RUN: %clangxx -fsycl -D_CRT_SECURE_NO_WARNINGS=1 %s -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out

Expand Down
2 changes: 2 additions & 0 deletions SYCL/ESIMD/accessor_gather_scatter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to outdated memory intrinsic
// 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/accessor_load_store.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to outdated memory intrinsic
// 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/api/ballot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to outdated memory intrinsic
// 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/api/bin_and_cmp_ops_heavy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to unimplemented 'half' type
// UNSUPPORTED: 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/api/esimd_bit_ops.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to unimplemented 'single_task()' method
// UNSUPPORTED: esimd_emulator
// RUN: %clangxx -fsycl %s -fsycl-device-code-split=per_kernel -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
//
Expand Down
2 changes: 2 additions & 0 deletions SYCL/ESIMD/api/simd_binop_integer_promotion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to outdated memory intrinsic
// 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/api/simd_copy_to_from.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to unimplemented 'half' type
// UNSUPPORTED: 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/api/simd_memory_access.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to unimplemented 'half' type
// UNSUPPORTED: 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/api/simd_negation_operator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to unimplemented __esimd_oword_ld_unaligned
// 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/api/simd_subscript_operator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to outdated memory intrinsic
// 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/api/simd_view_copy_move_assign.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to unimplemented 'half' type
// UNSUPPORTED: 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/api/simd_view_negation_operator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to unimplemented __esimd_oword_ld_unaligned
// 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/api/simd_view_subscript_operator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to unimplemented __esimd_oword_ld_unaligned
// 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/api/slm_gather_scatter.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to unimplemented __esimd_scatter_scaled
// 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/api/slm_gather_scatter_heavy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to outdated memory intrinsic
// 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/api/slm_gather_scatter_rgba.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to unimplemented __esimd_scatter_scaled
// 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/api/unary_ops_heavy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to unimplemented 'half' type
// UNSUPPORTED: esimd_emulator
// RUN: %clangxx -fsycl %s -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out

Expand Down
42 changes: 42 additions & 0 deletions SYCL/ESIMD/esimd_check_vc_codegen.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
//==-------- esimd_check_vc_codegen.cpp - DPC++ ESIMD on-device test -------==//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// esimd_emulator does not support online-compiler that invokes 'piProgramBuild'
// UNSUPPORTED: esimd_emulator
// RUN: %clangxx -fsycl %s -o %t.out
// RUN: env SYCL_PI_TRACE=-1 %GPU_RUN_PLACEHOLDER %t.out 2>&1 %GPU_CHECK_PLACEHOLDER

#include "esimd_test_utils.hpp"

#include <CL/sycl.hpp>
#include <iostream>
#include <sycl/ext/intel/experimental/esimd.hpp>

using namespace cl::sycl;

int main(void) {
try {
queue q(esimd_test::ESIMDSelector{}, esimd_test::createExceptionHandler());

auto dev = q.get_device();
std::cout << "Running on " << dev.get_info<info::device::name>() << "\n";

auto e =
q.submit([&](handler &cgh) { cgh.single_task<class Test>([] {}); });
e.wait();
} catch (sycl::exception const &e) {
std::cout << "SYCL exception caught: " << e.what() << '\n';
return 1;
}
return 0;
}

// CHECK: ---> piProgramBuild(
// CHECK: <const char *>: {{.*}}-vc-codegen
// CHECK: ) ---> pi_result : PI_SUCCESS
2 changes: 2 additions & 0 deletions SYCL/ESIMD/ext_math.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to unimplemented 'half' type
// UNSUPPORTED: 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/fp_in_phi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// UNSUPPORTED: cuda || hip
// UNSUPPORTED: ze_debug-1,ze_debug4
// TODO: esimd_emulator fails due to unimplemented __esimd_scatter_scaled
// XFAIL: esimd_emulator
//
// The test checks that ESIMD kernels correctly handle function pointers as
// arguments of LLVM's PHI function.
Expand Down
2 changes: 2 additions & 0 deletions SYCL/ESIMD/histogram.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to outdated __esimd_media_ld
// XFAIL: esimd_emulator
// RUN: %clangxx -fsycl %s -o %t.out
// RUN: %HOST_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
Expand Down
2 changes: 2 additions & 0 deletions SYCL/ESIMD/histogram_256_slm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to unimplemented __esimd_scatter_scaled
// XFAIL: esimd_emulator
// RUN: %clangxx -fsycl %s -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out

Expand Down
1 change: 1 addition & 0 deletions SYCL/ESIMD/histogram_256_slm_spec_2020.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// TODO enable on Windows
// REQUIRES: linux && gpu
// UNSUPPORTED: cuda || hip
// XFAIL: esimd_emulator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO?

// RUN: %clangxx -fsycl %s -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out 16

Expand Down
2 changes: 2 additions & 0 deletions SYCL/ESIMD/histogram_2d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to outdated __esimd_media_ld
// XFAIL: esimd_emulator
// RUN: %clangxx -fsycl %s -o %t.out
// RUN: %HOST_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
Expand Down
2 changes: 2 additions & 0 deletions SYCL/ESIMD/histogram_raw_send.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
// REQUIRES: gpu
// UNSUPPORTED: gpu-intel-dg1,cuda,hip
// UNSUPPORTED: ze_debug-1,ze_debug4
// TODO: esimd_emulator fails due to outdated __esimd_media_ld
// XFAIL: esimd_emulator
// RUN: %clangxx -fsycl %s -o %t.out
// RUN: %HOST_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
Expand Down
2 changes: 2 additions & 0 deletions SYCL/ESIMD/linear/linear.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to outdated __esimd_media_ld
// XFAIL: esimd_emulator
// RUN: %clangxx -fsycl %s -I%S/.. -o %t.out
// RUN: %HOST_RUN_PLACEHOLDER %t.out %S/linear_in.bmp %S/linear_gold_hw.bmp
// RUN: %GPU_RUN_PLACEHOLDER %t.out %S/linear_in.bmp %S/linear_gold_hw.bmp
Expand Down
2 changes: 2 additions & 0 deletions SYCL/ESIMD/mandelbrot/mandelbrot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to outdated __esimd_media_st
// XFAIL: esimd_emulator
// RUN: %clangxx -fsycl %s -I%S/.. -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out %T/output.ppm %S/golden_hw.ppm

Expand Down
1 change: 1 addition & 0 deletions SYCL/ESIMD/mandelbrot/mandelbrot_spec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// TODO enable on Windows
// REQUIRES: linux && gpu
// UNSUPPORTED: cuda || hip
// XFAIL: esimd_emulator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO?

// RUN: %clangxx -fsycl %s -I%S/.. -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out %T/output_spec.ppm %S/golden_hw.ppm 512 -2.09798 -1.19798 0.004 4.0

Expand Down
2 changes: 2 additions & 0 deletions SYCL/ESIMD/matrix_transpose.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to unimplemented __esimd_oword_ld_unaligned
// 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/matrix_transpose2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to outdated __esimd_media_ld
// XFAIL: esimd_emulator
// RUN: %clangxx -fsycl %s -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out

Expand Down
12 changes: 12 additions & 0 deletions SYCL/ESIMD/matrix_transpose_glb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ using namespace cl::sycl;
using namespace std;
using namespace sycl::ext::intel::experimental::esimd;

const unsigned int ESIMD_EMULATOR_SIZE_LIMIT = 1U << 10;

void initMatrix(int *M, unsigned N) {
assert(N >= 8 && (((N - 1) & N) == 0) &&
"only power of 2 (>= 16) is supported");
Expand Down Expand Up @@ -246,6 +248,16 @@ bool runTest(unsigned MZ, unsigned block_size, unsigned num_iters,
cerr << "\nTranspose square matrix of size " << MZ << "\n";
// printMatrix("Initial matrix:", M, MZ);

if ((q.get_backend() == cl::sycl::backend::ext_intel_esimd_emulator) &&
(MZ > ESIMD_EMULATOR_SIZE_LIMIT)) {
cerr << "Matrix Size larger than " << ESIMD_EMULATOR_SIZE_LIMIT
<< " is skipped"
<< "\n";
cerr << "for esimd_emulator backend due to timeout"
<< "\n";
return true;
}

// Each C-for-Metal thread works on one or two blocks of size 8 x 8.
int thread_width = MZ / block_size;
int thread_height = MZ / block_size;
Expand Down
2 changes: 2 additions & 0 deletions SYCL/ESIMD/printf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// CUDA and HIP don't support printf.
// TODO: esimd_emulator fails due to unimplemented 'single_task()' method
// UNSUPPORTED: esimd_emulator
//
// RUN: %clangxx -fsycl %s -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out %GPU_CHECK_PLACEHOLDER
Expand Down
2 changes: 2 additions & 0 deletions SYCL/ESIMD/regression/big_const_initializer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to unimplemented __esimd_scatter_scaled
// XFAIL: esimd_emulator
// RUN: %clangxx -fsycl -I%S/.. %s -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out

Expand Down
1 change: 1 addition & 0 deletions SYCL/ESIMD/regression/complex-lib-lin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//
// REQUIRES: linux,gpu
// UNSUPPORTED: cuda || hip
// XFAIL: esimd_emulator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO?

//
// RUN: %clangxx -fsycl -fPIC -O3 %S/Inputs/complex-lib-sycl.cpp -c -o %t-lib-sycl.o
// RUN: %clangxx -fsycl -fPIC -O3 %S/Inputs/complex-lib-esimd.cpp -c -o %t-lib-esimd.o
Expand Down
2 changes: 2 additions & 0 deletions SYCL/ESIMD/regression/globals.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// Sub-group is not supported

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// Sub-group is not supported
// TODO Sub-group is not supported

// UNSUPPORTED: 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/regression/operator_decrement.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 unimplemented __esimd_oword_ld_unaligned
// XFAIL: esimd_emulator
// RUN: %clangxx -fsycl -I%S/.. %s -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out

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

Expand Down
Loading