Skip to content

Commit

Permalink
[SYCL][E2E] Re-enable and fix Basic/interop/get_native_ocl.cpp test (
Browse files Browse the repository at this point in the history
…#15865)

This test was never ran due to requiring the feature `opencl_dev_kit`.
This patch replaces this with the feature `opencl_icd`, and fixes the
build line to use the `%opencl_lib` expansion.

Fixes part of #15838
  • Loading branch information
ayylol authored Oct 25, 2024
1 parent ce9a7a7 commit 2395022
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sycl/test-e2e/Basic/interop/get_native_ocl.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// REQUIRES: opencl, opencl_dev_kit
// RUN: %{build} %opencl_options -o %t.ocl.out
// REQUIRES: opencl, opencl_icd
// RUN: %{build} %opencl_lib -o %t.out
// RUN: %{run} %t.out

#include <CL/cl.h>
Expand Down

0 comments on commit 2395022

Please sign in to comment.