From 142aa7b9b0a33067df4229ebfc1770fa17b5c15a Mon Sep 17 00:00:00 2001 From: Nick Sarnie Date: Thu, 19 Feb 2026 01:37:39 +0900 Subject: [PATCH] [libsycl] Fix build after olInit change (#182057) After https://github.com/llvm/llvm-project/pull/181872 the function takes an argument. Pass `nullptr` to have it do the same thing as before. This wasn't caught because the only builder that builds `libsycl` is not in the production builder area at the moment. Signed-off-by: Nick Sarnie --- libsycl/src/detail/offload/offload_topology.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsycl/src/detail/offload/offload_topology.cpp b/libsycl/src/detail/offload/offload_topology.cpp index 5e595e520a45..ab4c57ecf37e 100644 --- a/libsycl/src/detail/offload/offload_topology.cpp +++ b/libsycl/src/detail/offload/offload_topology.cpp @@ -56,7 +56,7 @@ void OffloadTopology::registerNewPlatformsAndDevices( } void discoverOffloadDevices() { - callAndThrow(olInit); + callAndThrow(olInit, nullptr); // liboffload returns devices sorted by backend + platform. We rely on this // behavior during device enumeration.