onnxruntime/winml/adapter
Scott McKay 274e6b4153
Cleanup SessionState. Move allocator lookup to SessionState. (#4194)
* Move allocators to SessionState so they're decoupled from ExecutionProviders
  - when looking up an allocator it's based on OrtMemoryInfo not the EP so SessionState is a more natural place for that infromation to be stored
  - add device based lookup
    - simplifies logic for copying feeds/fetches across devices
Cleanup SessionState and SessionStateInitializer
  - provide more things to SessionState at construction time so we don't construct and instance and immediately after call a bunch of setters
  - simplify SessionStateInitializer
    - reduced down to FinalizeSessionState method
2020-06-28 14:55:42 +10:00
..
abi_custom_registry_impl.cpp
abi_custom_registry_impl.h
pch.h
winml_adapter_apis.h
winml_adapter_c_api.cpp
winml_adapter_c_api.h
winml_adapter_dml.cpp
winml_adapter_environment.cpp
winml_adapter_execution_provider.cpp
winml_adapter_model.cpp
winml_adapter_model.h
winml_adapter_session.cpp Cleanup SessionState. Move allocator lookup to SessionState. (#4194) 2020-06-28 14:55:42 +10:00