|
10 | 10 | // TODO Remove the level_zero restriction once the test is supported on other
|
11 | 11 | // platforms
|
12 | 12 | // UNSUPPORTED: cuda, hip
|
13 |
| -// XRUN: %clangxx -fsycl %s -fsycl-device-code-split=per_kernel -o %t.out |
14 |
| -// XRUN: %GPU_RUN_PLACEHOLDER %t.out |
15 |
| -// RUN: false |
| 13 | +// RUN: %clangxx -fsycl %s -fsycl-device-code-split=per_kernel -o %t.out |
| 14 | +// RUN: %GPU_RUN_PLACEHOLDER %t.out |
16 | 15 | // XFAIL: *
|
17 |
| -// TODO Remove once the simd vector provides move constructor |
| 16 | +// TODO Remove XFAIL once the simd vector provides move constructor |
18 | 17 | //
|
19 | 18 | // Test for esimd move constructor
|
20 | 19 | // The test creates source simd instance with reference data and invokes move
|
21 | 20 | // constructor in different C++ contexts to create a new simd instance from the
|
22 | 21 | // source simd instance. It is expected for a new simd instance to store
|
23 | 22 | // bitwise same data as the one passed as the source simd constructor.
|
24 | 23 |
|
| 24 | +// The following issues for simd<T,32> observed: |
| 25 | +// - freeze with T in {char, unsigned char, singned char}; |
| 26 | +// - runtime failure with T in {short, unsigned short}. |
| 27 | +// TODO Remove once the freeze is fixed |
| 28 | +#define SKIP_VECTOR_LEN_32 |
| 29 | + |
25 | 30 | // The test proxy is used to verify the move constructor was called actually.
|
26 | 31 | #define __ESIMD_ENABLE_TEST_PROXY
|
27 | 32 |
|
@@ -217,7 +222,11 @@ template <typename DataT, int NumElems, typename TestCaseT> class run_test {
|
217 | 222 | int main(int, char **) {
|
218 | 223 | bool passed = true;
|
219 | 224 | const auto types = get_tested_types<tested_types::all>();
|
| 225 | +#ifdef SKIP_VECTOR_LEN_32 |
| 226 | + const auto dims = values_pack<1, 8, 16>(); |
| 227 | +#else |
220 | 228 | const auto dims = get_all_dimensions();
|
| 229 | +#endif |
221 | 230 |
|
222 | 231 | sycl::queue queue(esimd_test::ESIMDSelector{},
|
223 | 232 | esimd_test::createExceptionHandler());
|
|
0 commit comments