[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:
parent
5fbbd41342
commit
142aa7b9b0
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user