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

Commit 2267a61

Browse files
[SYCL][ESIMD][EMU] Removing HOST_RUN_PLACEHOLDER for ESIMD Kernels (#823)
- Host backend and esimd_emulator backend share same header file and macro definition (~__SYCL_DEVICE_ONLY__) for memory intrinsic support from $LLVM_SRC/sycl/include/sycl/ext/intel/experimental/esimd/detail/memory_intrin.h - This sharing prevents the same header file from supporting both backend types as some intrinsic support implementations (e.g. __esimd_media_ld/st) are different and they are chosen during kernel compilation - while backends are chosen during kernel execution - Therefore, tests invoking those implementations must not contain 'HOST_RUN_PLACEHOLDER'
1 parent b3d7904 commit 2267a61

18 files changed

+0
-18
lines changed

SYCL/ESIMD/BitonicSortKv2.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// REQUIRES: gpu
99
// UNSUPPORTED: cuda || hip
1010
// RUN: %clangxx -fsycl %s -o %t.out
11-
// RUN: %HOST_RUN_PLACEHOLDER %t.out
1211
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1312

1413
#include "esimd_test_utils.hpp"

SYCL/ESIMD/PrefixSum.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// REQUIRES: gpu
99
// UNSUPPORTED: cuda || hip
1010
// RUN: %clangxx -fsycl %s -o %t.out
11-
// RUN: %HOST_RUN_PLACEHOLDER %t.out 20
1211
// RUN: %GPU_RUN_PLACEHOLDER %t.out 20
1312

1413
#include "esimd_test_utils.hpp"

SYCL/ESIMD/Prefix_Local_sum1.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// REQUIRES: gpu
99
// UNSUPPORTED: cuda || hip
1010
// RUN: %clangxx -fsycl %s -o %t.out
11-
// RUN: %HOST_RUN_PLACEHOLDER %t.out 20
1211
// RUN: %GPU_RUN_PLACEHOLDER %t.out 20
1312

1413
#include "esimd_test_utils.hpp"

SYCL/ESIMD/Prefix_Local_sum2.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// REQUIRES: gpu
99
// UNSUPPORTED: cuda || hip
1010
// RUN: %clangxx -fsycl %s -o %t.out
11-
// RUN: %HOST_RUN_PLACEHOLDER %t.out 20
1211
// RUN: %GPU_RUN_PLACEHOLDER %t.out 20
1312

1413
#include "esimd_test_utils.hpp"

SYCL/ESIMD/Prefix_Local_sum3.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// REQUIRES: gpu
99
// UNSUPPORTED: cuda || hip
1010
// RUN: %clangxx -fsycl %s -o %t.out
11-
// RUN: %HOST_RUN_PLACEHOLDER %t.out
1211
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1312

1413
#include "esimd_test_utils.hpp"

SYCL/ESIMD/Stencil.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// REQUIRES: gpu
99
// UNSUPPORTED: cuda || hip
1010
// RUN: %clangxx -fsycl %s -o %t.out
11-
// RUN: %HOST_RUN_PLACEHOLDER %t.out
1211
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1312

1413
#include "esimd_test_utils.hpp"

SYCL/ESIMD/api/svm_gather_scatter.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// REQUIRES: gpu
99
// UNSUPPORTED: cuda || hip
1010
// RUN: %clangxx -fsycl %s -o %t.out
11-
// RUN: %HOST_RUN_PLACEHOLDER %t.out
1211
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1312

1413
// Regression test for SVM gather/scatter API.

SYCL/ESIMD/histogram.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
// TODO: esimd_emulator fails due to outdated __esimd_media_ld
1111
// XFAIL: esimd_emulator
1212
// RUN: %clangxx -fsycl %s -o %t.out
13-
// RUN: %HOST_RUN_PLACEHOLDER %t.out
1413
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1514

1615
#include "esimd_test_utils.hpp"

SYCL/ESIMD/histogram_2d.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
// TODO: esimd_emulator fails due to outdated __esimd_media_ld
1111
// XFAIL: esimd_emulator
1212
// RUN: %clangxx -fsycl %s -o %t.out
13-
// RUN: %HOST_RUN_PLACEHOLDER %t.out
1413
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1514

1615
#include "esimd_test_utils.hpp"

SYCL/ESIMD/histogram_raw_send.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
// TODO: esimd_emulator fails due to outdated __esimd_media_ld
1313
// XFAIL: esimd_emulator
1414
// RUN: %clangxx -fsycl %s -o %t.out
15-
// RUN: %HOST_RUN_PLACEHOLDER %t.out
1615
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1716

1817
// The test checks raw send functionality with atomic write implementation

SYCL/ESIMD/kmeans/kmeans.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// REQUIRES: gpu
99
// UNSUPPORTED: cuda || hip
1010
// RUN: %clangxx -fsycl %s -I%S/.. -o %t.out
11-
// RUN: %HOST_RUN_PLACEHOLDER %t.out %S/points.csv
1211
// RUN: %GPU_RUN_PLACEHOLDER %t.out %S/points.csv
1312

1413
#include "kmeans.h"

SYCL/ESIMD/linear/linear.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
// TODO: esimd_emulator fails due to outdated __esimd_media_ld
1111
// XFAIL: esimd_emulator
1212
// RUN: %clangxx -fsycl %s -I%S/.. -o %t.out
13-
// RUN: %HOST_RUN_PLACEHOLDER %t.out %S/linear_in.bmp %S/linear_gold_hw.bmp
1413
// RUN: %GPU_RUN_PLACEHOLDER %t.out %S/linear_in.bmp %S/linear_gold_hw.bmp
1514

1615
#include "bitmap_helpers.h"

SYCL/ESIMD/matrix_transpose_usm.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// REQUIRES: gpu
99
// UNSUPPORTED: cuda || hip
1010
// RUN: %clangxx -fsycl %s -o %t.out
11-
// RUN: %HOST_RUN_PLACEHOLDER %t.out
1211
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1312

1413
#include "esimd_test_utils.hpp"

SYCL/ESIMD/reduction.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
// REQUIRES: gpu
1010
// UNSUPPORTED: cuda || hip
1111
// RUN: %clangxx -fsycl %s -o %t.out
12-
// RUN: %HOST_RUN_PLACEHOLDER %t.out
1312
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1413

1514
#include "esimd_test_utils.hpp"

SYCL/ESIMD/stencil2.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// REQUIRES: gpu
99
// UNSUPPORTED: cuda || hip
1010
// RUN: %clangxx -fsycl %s -o %t.out
11-
// RUN: %HOST_RUN_PLACEHOLDER %t.out
1211
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1312

1413
#include "esimd_test_utils.hpp"

SYCL/ESIMD/test_id_3d.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// REQUIRES: gpu
99
// UNSUPPORTED: cuda || hip
1010
// RUN: %clangxx -fsycl %s -o %t.out
11-
// RUN: %HOST_RUN_PLACEHOLDER %t.out
1211
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1312

1413
// This test checks that multi-dimensional sycl::item can be used in ESIMD

SYCL/ESIMD/vadd_2d.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
// TODO: esimd_emulator fails due to outdated __esimd_media_ld
1111
// XFAIL: esimd_emulator
1212
// RUN: %clangxx -fsycl %s -o %t.out
13-
// RUN: %HOST_RUN_PLACEHOLDER %t.out
1413
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1514

1615
#include "esimd_test_utils.hpp"

SYCL/ESIMD/vadd_usm.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// REQUIRES: gpu
99
// UNSUPPORTED: cuda || hip
1010
// RUN: %clangxx -fsycl %s -o %t.out
11-
// RUN: %HOST_RUN_PLACEHOLDER %t.out
1211
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1312

1413
#include "esimd_test_utils.hpp"

0 commit comments

Comments
 (0)