mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
fix build (#8725)
This commit is contained in:
parent
59e59b9e0e
commit
606b6271fa
1 changed files with 2 additions and 2 deletions
|
|
@ -114,8 +114,8 @@ bool KernelRegistryManager::SearchKernelRegistriesByHash(uint64_t kernel_def_has
|
|||
}
|
||||
#endif
|
||||
|
||||
for (const auto& [provider_type, registry] : provider_type_to_registry_) {
|
||||
if (registry->TryFindKernelByHash(kernel_def_hash, kernel_create_info)) {
|
||||
for (const auto& kv : provider_type_to_registry_) {
|
||||
if (kv.second->TryFindKernelByHash(kernel_def_hash, kernel_create_info)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue