[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 <nick.sarnie@intel.com>
This commit is contained in:
Nick Sarnie 2026-02-19 01:37:39 +09:00 committed by GitHub
parent 5fbbd41342
commit 142aa7b9b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.