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

[SYCL][HIP] Fix get_backend test for HIP #634

Merged
merged 1 commit into from
Dec 21, 2021
Merged
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
4 changes: 1 addition & 3 deletions SYCL/Basic/get_backend.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: env SYCL_DEVICE_FILTER=%sycl_be %t.out
//
// Failing on HIP AMD
// XFAIL: hip_amd
//
//==----------------- get_backend.cpp ------------------------==//
// This is a test of get_backend().
// Do not set SYCL_DEVICE_FILTER. We do not want the preferred
Expand All @@ -21,6 +18,7 @@ bool check(backend be) {
case backend::opencl:
case backend::ext_oneapi_level_zero:
case backend::ext_oneapi_cuda:
case backend::ext_oneapi_hip:
case backend::host:
return true;
default:
Expand Down