From 4af7a987346f201506c759b7a65bd3c9754f1c7d Mon Sep 17 00:00:00 2001 From: Artur Gainullin Date: Fri, 5 Apr 2024 08:24:45 -0700 Subject: [PATCH] [SYCL][E2E] Don't use fp64 aspect in the test that doesn't need it (#13290) Test is failing on devices without fp64 aspect. Test doesn't actually need to use double type. --- sycl/test-e2e/Regression/nop_event_profiling.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sycl/test-e2e/Regression/nop_event_profiling.cpp b/sycl/test-e2e/Regression/nop_event_profiling.cpp index 427fa660d21fd..65f0f065e5f83 100644 --- a/sycl/test-e2e/Regression/nop_event_profiling.cpp +++ b/sycl/test-e2e/Regression/nop_event_profiling.cpp @@ -21,7 +21,7 @@ int main() { sycl::nd_range<3>(sycl::range<3>(1, 1, 16) * sycl::range<3>(1, 1, 16), sycl::range<3>(1, 1, 16)), [=](sycl::nd_item<3> item_ct1) { - double d = 123; + int d = 123; for (int i = 0; i < 10000; i++) { d = d * i; }