From 5643e6cb056fd7c74a2d10f44c1fa1d0a01a9e6c Mon Sep 17 00:00:00 2001 From: Matthew Michel Date: Tue, 5 Nov 2024 14:00:41 -0600 Subject: [PATCH] Fix test bug where device allocation is always used for testing Signed-off-by: Matthew Michel --- .../parallel_api/numeric/numeric.ops/reduce_by_segment.pass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel_api/numeric/numeric.ops/reduce_by_segment.pass.cpp b/test/parallel_api/numeric/numeric.ops/reduce_by_segment.pass.cpp index f71f78ed26e..80aa9f53d3c 100644 --- a/test/parallel_api/numeric/numeric.ops/reduce_by_segment.pass.cpp +++ b/test/parallel_api/numeric/numeric.ops/reduce_by_segment.pass.cpp @@ -314,7 +314,7 @@ run_test_on_device() if (TestUtils::has_type_support(TestUtils::get_test_queue().get_device())) { constexpr sycl::usm::alloc allocation_type = use_device_alloc ? sycl::usm::alloc::device : sycl::usm::alloc::shared; - test4buffers>(); + test4buffers>(); } } #endif // TEST_DPCPP_BACKEND_PRESENT