mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-06 00:03:22 +00:00
missed change for external allocator in ROCm EP. (#7505)
This commit is contained in:
parent
70e67ddd2b
commit
e6f66f660c
1 changed files with 3 additions and 0 deletions
|
|
@ -57,6 +57,9 @@ ROCMExecutionProviderInfo ROCMExecutionProviderInfo::FromProviderOptions(const P
|
|||
arena_extend_strategy_mapping, info.arena_extend_strategy)
|
||||
.Parse(options));
|
||||
|
||||
ROCMExecutionProviderExternalAllocatorInfo alloc_info{alloc, free};
|
||||
info.external_allocator_info = alloc_info;
|
||||
|
||||
return info;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue