From 50250ed5705c3c61dbf32b2c98af00a7373afcd1 Mon Sep 17 00:00:00 2001 From: Artur Gainullin Date: Tue, 27 Oct 2020 16:22:14 -0700 Subject: [PATCH] [SYCL][NFC] Add -fno-sycl-id-queries-fit-in-int to the parallel_for_range.cpp test This LIT test assumes that compiler doesn't check ranges to fit integer that is why explicitly disable these checks for this test. --- sycl/test/basic_tests/parallel_for_range.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sycl/test/basic_tests/parallel_for_range.cpp b/sycl/test/basic_tests/parallel_for_range.cpp index 5100639638369..c03c30ba28f2c 100644 --- a/sycl/test/basic_tests/parallel_for_range.cpp +++ b/sycl/test/basic_tests/parallel_for_range.cpp @@ -2,7 +2,7 @@ // UNSUPPORTED: windows // Level0 testing times out on Windows. -// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out +// RUN: %clangxx -fsycl -fno-sycl-id-queries-fit-in-int -fsycl-targets=%sycl_triple %s -o %t.out // RUN: %CPU_RUN_PLACEHOLDER %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out // RUN: %ACC_RUN_PLACEHOLDER %t.out