onnxruntime/winml
Ryan Lai 5ce675c3b9
Expose Onnxruntime Intra Op thread controls through WinML Native API (#4638)
* Register ILearningModelSessionOptionsNate interface

* Threading options exposed

* Add interrogator for Session options

* Add test

* Polish test

* PR comments

* Set intra op threads

* Add adapter api to grab intra op threads

* Add adapter test for getting intraop num threads

* Make ILearningModelSessionNative and update winml api test

* Make it required when building engine to set the intraop num threads

* Make test  more pretty

* Change naming of idl function

* Revert "Change naming of idl function"

This reverts commit c06916aa5bf94e3bf233ed281e508b935fc8638d.

* PR comment on naming

* Skip the test because it's influenced if it's built with openmp

Co-authored-by: Ryan Lai <ryalai96@gamil.com>
2020-07-30 17:55:26 -07:00
..
adapter Expose Onnxruntime Intra Op thread controls through WinML Native API (#4638) 2020-07-30 17:55:26 -07:00
api Expose Onnxruntime Intra Op thread controls through WinML Native API (#4638) 2020-07-30 17:55:26 -07:00
dll Fork the WinML APIs into the Microsoft namespace (#3503) 2020-04-17 06:18:54 -07:00
lib Expose Onnxruntime Intra Op thread controls through WinML Native API (#4638) 2020-07-30 17:55:26 -07:00
test Expose Onnxruntime Intra Op thread controls through WinML Native API (#4638) 2020-07-30 17:55:26 -07:00