Skip to content

Commit 8397929

Browse files
committed
Use /clang: flag on test failing on msvc driver
1 parent dcb975d commit 8397929

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)