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

Commit 4ebf2e6

Browse files
authored
[SYCL] Force use of BE selected in LIT. (#294)
* Force use of BE selected in LIT. * Remove obsolete test
1 parent 03e4e9b commit 4ebf2e6

File tree

7 files changed

+10
-27
lines changed

7 files changed

+10
-27
lines changed

SYCL/Basic/context_platforms.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %clangxx -fsycl %s -o %t.out
2-
// RUN: %t.out
2+
// RUN: env SYCL_DEVICE_FILTER=%sycl_be %t.out
33
#include <CL/sycl.hpp>
44
#include <iostream>
55

SYCL/Basic/get_backend.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2-
// RUN: %t.out
2+
// RUN: env SYCL_DEVICE_FILTER=%sycl_be %t.out
33
//
44
//==----------------- get_backend.cpp ------------------------==//
55
// This is a test of get_backend().

SYCL/Basic/host_always_works.cpp

Lines changed: 0 additions & 23 deletions
This file was deleted.

SYCL/Basic/query_emulate_subdevice.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
// RUN: env CreateMultipleSubDevices=2 EnableTimestampPacket=1 \
33
// RUN: NEOReadDebugKeys=1 SYCL_DEVICE_FILTER="gpu" %t.out
44

5-
// UNSUPPORTED: gpu-intel-dg1
5+
// UNSUPPORTED: gpu-intel-dg1,cuda
66
#include "query.hpp"

SYCL/Plugin/sycl-ls-gpu-default-any.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@
1818

1919
// This test checks that a valid GPU is returned by sycl-ls by default if one
2020
// is present.
21+
// The test crashed on CUDA CI machines with the latest OpenCL GPU RT
22+
// (21.19.19792).
23+
// UNSUPPORTED: cuda

SYCL/Plugin/sycl-ls.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@
99
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
1010
//
1111
//===----------------------------------------------------------------------===//
12+
// The test crashed on CUDA CI machines with the latest OpenCL GPU RT
13+
// (21.19.19792).
14+
// UNSUPPORTED: cuda

SYCL/Scheduler/MultipleDevices.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2-
// RUN: %t.out
2+
// RUN: env SYCL_DEVICE_FILTER=%sycl_be %t.out
33

44
//===- MultipleDevices.cpp - Test checking multi-device execution --------===//
55
//

0 commit comments

Comments
 (0)