Skip to content

Commit 5e61f8f

Browse files
authored
[SYCL][E2E] Use /clang: when using MSVC driver on bindless images test (#16140)
this should fix the compfail on this test when using clang-cl.
1 parent 9e3aabf commit 5e61f8f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sycl/test-e2e/bindless_images/dx12_interop/read_write_unsampled.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// REQUIRES: aspect-ext_oneapi_bindless_images
22
// REQUIRES: windows
33

4-
// RUN: %{build} -l d3d12 -l dxgi -l dxguid -o %t.out
4+
// DEFINE: %{link-flags}=%if cl_options %{ /clang:-ld3d12 /clang:-ldxgi /clang:-ldxguid %} %else %{ -ld3d12 -ldxgi -ldxguid %}
5+
// RUN: %{build} %{link-flags} -o %t.out
56
// RUN: %{run-unfiltered-devices} env NEOReadDebugKeys=1 UseBindlessMode=1 UseExternalAllocatorForSshAndDsh=1 %t.out
67

78
#pragma clang diagnostic ignored "-Waddress-of-temporary"

0 commit comments

Comments
 (0)