Skip to content

Commit 0e623b8

Browse files
[LIT] Run check_device_code/vector/vector_math_ops only when assertions are enabled (#13611)
Fixes the post-commit failure: https://github.com/intel/llvm/actions/runs/8902870243/job/24449594832
1 parent 4a53a8c commit 0e623b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sycl/test/check_device_code/vector/vector_math_ops.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
// RUN: %clangxx -I %sycl_include -S -emit-llvm -fno-sycl-instrument-device-code -Xclang -disable-lifetime-markers -fsycl-device-only %s -o - | FileCheck %s
77

8+
// REQUIRES: asserts
9+
810
// This test checks
911
// (1) the storage type of sycl::vec on device for all data types, and
1012
// (2) the device code for various math operations on sycl::vec.

0 commit comments

Comments
 (0)