Skip to content

Commit 894db96

Browse files
authored
[UR][offload] fix device iteration in offload adapter (#20783)
1 parent e1f0d50 commit 894db96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unified-runtime/source/adapters/offload/adapter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ ur_result_t ur_adapter_handle_t_::init() {
5656
->Devices.push_back(
5757
std::make_unique<ur_device_handle_t_>(URPlatform->get(), D));
5858
}
59-
return false;
59+
return true;
6060
},
6161
&Adapter->Platforms);
6262

0 commit comments

Comments
 (0)