Skip to content

Commit 98d86d0

Browse files
[SYCL][E2E] Avoid unused argument warning for imf_fp16_trivial_test (#16049)
The imf_fp16_trivial_test has a clangxx invocation with only object files. On Windows, this invocation may have /EHsc, which in this case will be ignored. This issues a warning, which in turn becomes an error when -Werror is set. To avoid this, we ignore unused-argument warnings for this specific invocation. Signed-off-by: Larsen, Steffen <[email protected]>
1 parent 643d4ff commit 98d86d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/test-e2e/DeviceLib/imf_fp16_trivial_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
// RUN: %{build} %{mathflags} -c -DSOURCE1 -o %t1.o
77
// RUN: %{build} %{mathflags} -c -DSOURCE2 -o %t2.o
8-
// RUN: %clangxx -fsycl %t1.o %t2.o -o %t.out
8+
// RUN: %clangxx -Wno-error=unused-command-line-argument -fsycl %t1.o %t2.o -o %t.out
99
// RUN: %{run} %t.out
1010

1111
// UNSUPPORTED: cuda, hip

0 commit comments

Comments
 (0)