Skip to content

Commit ba10b53

Browse files
authored
[SYCL][E2E] Use /clang: flag on test failing on MSVC driver (#15744)
Fixing the options for another test that slipped through the cracks of #15364
1 parent 304aadf commit ba10b53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/test-e2e/syclcompat/launch/kernel_properties.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
// We need hardware which can support at least 2 sub-group sizes, since that
2424
// hardware (presumably) supports the `intel_reqd_sub_group_size` attribute.
2525
// REQUIRES: sg-32 && sg-16
26-
// RUN: %{build} -S -emit-llvm -o - | FileCheck %s
26+
// RUN: %{build} %if cl_options %{/clang:-S /clang:-emit-llvm%} %else %{-S -emit-llvm%} -o - | FileCheck %s
2727

2828
#include <sycl/ext/oneapi/kernel_properties/properties.hpp>
2929
#include <sycl/detail/core.hpp>

0 commit comments

Comments
 (0)