Commit graph

10 commits

Author SHA1 Message Date
Ryan Lai
5122dbf8b1
Remove usage of WHOLEARCHIVE in WinML CMake and add WinMLAdapterFactory (#2726)
* Remove usage of WHOLEARCHIVE in WinMLAdapter CMake and add WinMLAdapterFactory

* PR feedback, no need for dll(export) since using def file

* PR comments

* Small comment in gen_def.py
2020-01-02 16:09:30 -08:00
Ryan Lai
3429b0f556 Deref unique pointer for session_state 2019-12-19 16:55:17 -08:00
Ryan Lai
4ccbd52242 Revert "User/orilevari/windowsai master merge (#2674)"
This reverts commit fe26146311.
2019-12-19 16:11:48 -08:00
Tiago Koji Castro Shibata
5901421798
Fix memory leaks (#2679)
Fix https://microsoft.visualstudio.com/OS/_workitems/edit/24356109,
https://microsoft.visualstudio.com/OS/_workitems/edit/24388361 and
https://microsoft.visualstudio.com/OS/_workitems/edit/24388596
2019-12-17 15:08:59 -08:00
Ori Levari
fe26146311
User/orilevari/windowsai master merge (#2674)
merge resolutions included pulling in telemetry logic that was merged to master and not windowsai and dereferencing InferenceSession::sessionstate now that it is a unique pointer
2019-12-17 12:23:40 -08:00
Ryan Lai
7a812dfc02
merge changes from layer_dev to windowsai (#2638)
* Remove underscore from googletest names (#2616)

* Fix leaking memory allocator

Fix https://microsoft.visualstudio.com/OS/_workitems/edit/24278761
and https://microsoft.visualstudio.com/OS/_workitems/edit/24330198

* Explicitly initialize Ort::Value with nullptr

* Cache WinML adapter

* bad merge
2019-12-11 17:56:18 -08:00
Xiang Zhang
36e557ec12
User/xianz/ortthrow (#2596)
* thrown and handle onnxruntime exceptions

* handle exception thrown from ort in winmladapter

* undo changes in error.h

* add message to HRESULT
2019-12-09 16:44:55 -08:00
Ryan Lai
9933b8a5d6
Fix custom ops scenario tests (#2562)
* Do not shutdown protobuf after ort environment gets destroyed. Lazy load lotus environment first time it is needed

* comment typo

* pr comment  about calling phoenix singleton

* Make lotus_environment static in winmladapter
2019-12-05 15:41:01 -08:00
Xiang Zhang
8fb7b88e0a
Handle exception thrown from all apis in WinMLAdapter (#2539) 2019-12-04 14:08:16 -08:00
Paul McDaniel
c615002f5d
Layer dev paulm (#2533)
* commetns for dml graph transformer
fixed ort value passing using the allocatir info

* fixed and coded maps and sequences across the abi

* cleaned up w4's
cleaned up the model info ABI
delayload directml.dll from winml

* cleaned up namepsace aliases.
renamed _winmla to winmla
this was good PR feedback from tiago a while back.

* moved files from inc to lib\api.core
cleaned up some of the cmake

* staged changes
2019-12-03 15:31:22 -08:00
Renamed from winml/lib/Api.Core/WinMLAdapter.cpp (Browse further)