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

Commit 7de5c03

Browse files
authored
[SYCL][HIP] Fix get_backend test for HIP (#634)
The test was missing the case for the HIP plugin
1 parent 5646a3d commit 7de5c03

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

SYCL/Basic/get_backend.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
22
// RUN: env SYCL_DEVICE_FILTER=%sycl_be %t.out
33
//
4-
// Failing on HIP AMD
5-
// XFAIL: hip_amd
6-
//
74
//==----------------- get_backend.cpp ------------------------==//
85
// This is a test of get_backend().
96
// Do not set SYCL_DEVICE_FILTER. We do not want the preferred
@@ -21,6 +18,7 @@ bool check(backend be) {
2118
case backend::opencl:
2219
case backend::ext_oneapi_level_zero:
2320
case backend::ext_oneapi_cuda:
21+
case backend::ext_oneapi_hip:
2422
case backend::host:
2523
return true;
2624
default:

0 commit comments

Comments
 (0)