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

[SYCL] Force use of BE selected in LIT. #294

Merged
merged 2 commits into from
May 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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: 1 addition & 1 deletion SYCL/Basic/context_platforms.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// RUN: %clangxx -fsycl %s -o %t.out
// RUN: %t.out
// RUN: env SYCL_DEVICE_FILTER=%sycl_be %t.out
#include <CL/sycl.hpp>
#include <iostream>

Expand Down
2 changes: 1 addition & 1 deletion SYCL/Basic/get_backend.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %t.out
// RUN: env SYCL_DEVICE_FILTER=%sycl_be %t.out
//
//==----------------- get_backend.cpp ------------------------==//
// This is a test of get_backend().
Expand Down
23 changes: 0 additions & 23 deletions SYCL/Basic/host_always_works.cpp

This file was deleted.

2 changes: 1 addition & 1 deletion SYCL/Basic/query_emulate_subdevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
// RUN: env CreateMultipleSubDevices=2 EnableTimestampPacket=1 \
// RUN: NEOReadDebugKeys=1 SYCL_DEVICE_FILTER="gpu" %t.out

// UNSUPPORTED: gpu-intel-dg1
// UNSUPPORTED: gpu-intel-dg1,cuda
#include "query.hpp"
3 changes: 3 additions & 0 deletions SYCL/Plugin/sycl-ls-gpu-default-any.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@

// This test checks that a valid GPU is returned by sycl-ls by default if one
// is present.
// The test crashed on CUDA CI machines with the latest OpenCL GPU RT
// (21.19.19792).
// UNSUPPORTED: cuda
3 changes: 3 additions & 0 deletions SYCL/Plugin/sycl-ls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
// The test crashed on CUDA CI machines with the latest OpenCL GPU RT
// (21.19.19792).
// UNSUPPORTED: cuda
2 changes: 1 addition & 1 deletion SYCL/Scheduler/MultipleDevices.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %t.out
// RUN: env SYCL_DEVICE_FILTER=%sycl_be %t.out

//===- MultipleDevices.cpp - Test checking multi-device execution --------===//
//
Expand Down