Commit graph

10 commits

Author SHA1 Message Date
Ryan Lai
b28a3a92e6
Delete Ort Allocator in LearningModelBinding (#2653)
* Delete OrtAllocator in LearningModelBinding

* PR comments to make Ort::Allocator a smart pointer

* Small comment change

* PR feedback to clean up code

* PR feedback on move semantics

* Clean up std::move
2019-12-17 14:58:46 -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
Paul McDaniel
301d407b39
Layer dev paulm (#2507)
* 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.
2019-11-27 15:50:49 -08:00
Paul McDaniel
78c3c126c9 merged in brian's changes 2019-11-25 13:23:32 -08:00
Paul McDaniel
974ee0b74b Checking in a staging checkpoint point so that Ryan can work with me in parrallel 2019-11-25 12:50:04 -08:00
Brian Martin
d738bdd968
Brianma/cpuwinml (#2466)
* allow building winml cpu without dml.
2019-11-22 16:13:28 -08:00
Paul McDaniel
5350abe19d
LearningModelSession is cleaned up to use the adapter, and parts of b… (#2382)
this is a big PR.    we are going to move it up to layer_dev , which is still a L3 so we are still safe to do work there agile.

we are going to move this into the L3 so that ryan can start doing intergration testing.   

we will pause for a full code review and integration test result prior to going into the L2.

>>>> raw comments from previous commits >>> 

* LearningModelSession is cleaned up to use the adapter, and parts of binding are.
* moved everything in the winmladapter
made it all nano-com using, WRL to construct objects in the ORT side.
base interfaces for everythign for winml to call
cleaned up a bunch of winml to use the base interfaces.
* more pieces
* GetData across the abi.
* renamed some namepsace
cleaned up OrtValue
cleaned up Tensor
cleaned up custom ops.
everything *but* learnignmodel should be clean
* make sure it's building.   winml.dll is still a monolith.
2019-11-14 17:44:07 -08:00
Paul McDaniel
b6f5eef1d9 more snipping to get core into ort 2019-11-08 13:23:44 -08:00
Ryan Lai
444bfcc26e Initial changes for layering 2019-11-07 16:50:24 -08:00
Adrian Tsai
7390b64af5 Initial Commit 2019-11-07 11:51:44 -08:00