onnxruntime
d58fa980 - ExecutionProvider API refactor - replace OrtMemoryInfo with OrtDevice (#15618)

Commit
2 years ago
ExecutionProvider API refactor - replace OrtMemoryInfo with OrtDevice (#15618) ### Description ExecutionProvider API refactor - replace OrtMemoryInfo with OrtDevice ### Motivation and Context Currently “Location” is represented as ORTMemoryInfo, which is OrtDevice + OrtMemType, while OrtDevice is represent as DeviceType + DeviceId + MemType. As we can see there is some unnecessary hierarchy, the proposal is to make it a clear definition that to use OrtDevice as an abstraction for Location --------- Co-authored-by: Lei Cao <leca@microsoft.com>
Author
Parents
Loading