Ryan Lai
ed0a8e5b5c
Enable disabled tests and add fixed model ( #4059 )
...
Co-authored-by: Ryan Lai <ryalai96@gamil.com>
2020-05-28 13:24:12 -07:00
Jeff Bloomfield
59af3ea278
Add missing D3D12 resource barriers and fences to Winml ( #3941 )
...
* Add missing D3D12 resource barriers to Winml
* Fix unsafe descriptor usage in Winml tensorization
2020-05-20 23:19:44 -07:00
Ori Levari
ce4d05862a
add bm_fish_720 to collateral for scenario 22 test ( #3998 )
...
Co-authored-by: Ori Levari <orlevari@microsoft.com>
2020-05-20 23:19:27 -07:00
Jeff Bloomfield
1c1685ad2b
Fix error handling in LearningModelSession.cpp ( #3920 )
2020-05-13 10:13:16 -07:00
Tiago Koji Castro Shibata
385073e1cd
Fix DmlCopyTensor test ( #3923 )
...
* Fix heap corruption
* Cleanup
2020-05-13 09:14:55 -07:00
Ori Levari
7b858d60b0
Various changes for automated downlevel test pipeline ( #3901 )
...
Co-authored-by: Ori Levari <orlevari@microsoft.com>
2020-05-12 17:22:47 -07:00
Xiang Zhang
bccbdd03f1
User/xianz/enable batch tests ( #3914 )
...
* enable batch tests in winml_image_test
* copy batchGroundTruth folder
* skip GPU tests when GPU is unavailable
2020-05-12 15:46:46 -07:00
Ori Levari
6d2d927809
add test to api tests to ensure correct hresult is returned for corrupt model file ( #3796 )
...
Co-authored-by: Ori Levari <orlevari@microsoft.com>
2020-05-11 13:22:22 -07:00
Sheil Kumar
c7da194313
remove winrt ( #3899 )
...
Co-authored-by: Sheil Kumar <sheilk@microsoft.com>
2020-05-11 10:47:07 -07:00
Sheil Kumar
cf6a1c1715
Fix Windows Inbox build failing on 1) building raw api tests and 2) referencing _winml namespace in onnxruntime.dll ( #3872 )
...
* add build inbox flag
* remove raw tests and wstring for utf filenames
* enable raw tests
* use ToWideString
* create new utf8 helper
* update string helper to utf8
Co-authored-by: Sheil Kumar <sheilk@microsoft.com>
2020-05-08 15:59:16 -07:00
Tiago Koji Castro Shibata
eb7486d632
WinML Adapter DMLEP tests ( #3752 )
...
* Add DML EP tests
* wip
* Fix DmlCopyTensor
* Cleanup
* Remove leaks in AdapterDmlEpTest
* Fix rebase conflicts
* Move GPUTEST macro to tests instead of suite setup
* Address PR feedback
2020-05-07 16:25:41 -07:00
Sheil Kumar
e981496cf7
add build inbox flag ( #3855 )
...
Co-authored-by: Sheil Kumar <sheilk@microsoft.com>
2020-05-07 15:52:43 -07:00
Tiago Koji Castro Shibata
43b87de7d1
Support wide char paths in CreateModel ( #3835 )
...
* Support wide char paths in CreateModel
* Use UTF-8 in WinML adapter API
2020-05-07 13:32:19 -07:00
Sheil Kumar
43a828f0a2
Add tests for WinRT Projection Raw ABI consumption ( #3718 )
...
Add tests for WinRT Projection Raw ABI consumption
Co-authored-by: Sheil Kumar <sheilk@microsoft.com>
2020-05-02 00:33:17 -07:00
Jeff Bloomfield
407492472f
Fix build warnings and address PR comment
2020-04-27 13:21:45 -07:00
Jeff Bloomfield
02e8d10f3a
Fix AdapterSessionTest
2020-04-25 20:49:51 -07:00
Jeff Bloomfield
f1c19f8495
merge master
2020-04-25 19:04:58 -07:00
Tiago Koji Castro Shibata
f48b9e2ea7
Add adapter session tests ( #3522 )
...
* Start adapter tests
* Fix more adapter session CMake
* Implememt adapter session tests
* Fix adapter test breaks
* Test fixes, profiling test
* Fix adapter w/ DML tests
* Cleanup
* Fix WinML adapter profiling test
* Fix memory leaks
* Remove FIXME
2020-04-24 14:39:54 -07:00
Ori Levari
66343e2fcf
use map with case insensitive hash and equals functions for learningmodel metadata. add test to verify case insensitive functionality. ( #3671 )
...
Co-authored-by: Ori Levari <orlevari@microsoft.com>
2020-04-24 10:46:10 -07:00
Ori Levari
bae1dd7f04
add test for LearningModel creation from missing model path ( #3661 )
2020-04-23 15:37:32 -07:00
Sheil Kumar
31b6629e99
Fork WinML IDL Guids ( #3591 )
...
Co-authored-by: Sheil Kumar <sheilk@microsoft.com>
2020-04-20 09:17:07 -07:00
Jeff Bloomfield
88732cd092
upstream/jeffbloo/TrimOnSessionInitializationEnd
2020-04-19 13:49:23 -07:00
Jeff
7d523d2580
Merge remote-tracking branch 'upstream/master' into jeffbloo/TrimOnSessionInitializationEnd
2020-04-19 11:58:44 -07:00
Jeff Bloomfield
8ee5953153
Merge remote-tracking branch 'upstream/master' into user/jeffbloo/MergeGithubMasterToDmlDev1
2020-04-19 11:52:44 -07:00
Jeff Bloomfield
a4e312da43
Fix build error in D3DDeviceCache.cpp
2020-04-19 11:52:41 -07:00
Tiago Koji Castro Shibata
14e387aa1a
Fix WinML namespace build break ( #3583 )
...
* Add missing winrt namespace
* Conditional compilation of dxcore code
* Fix TAEF macros
2020-04-18 20:46:01 -07:00
Jeff Bloomfield
11baa4b56d
Merge user/ticastro/fix-wai-build
2020-04-17 14:10:50 -07:00
Jeff Bloomfield
822883314e
merge upstream/master
2020-04-17 13:47:07 -07:00
Sheil Kumar
2717c178cc
Fork the WinML APIs into the Microsoft namespace ( #3503 )
...
* Migrate winml to Microsoft Namespace (packaging changes are pending)
* add ns_prefix toggle
* fix packaging
* Users/sheilk/add missing raw header (#3484 )
* add dualapipartition
* wrong variable for repo root
Co-authored-by: Sheil Kumar <sheilk@microsoft.com>
* remove existence check to force failures
* extra paren
* dualapipartition needs to be referenced from the source
* add microsoft.ai.machinelearning.dll to the output dir
* rename the idl file so that assembly info is correctly added into the winmd
* fix namespaces
* update namespaces
* default to microsoft, and add namespace override as build argument
* update cmakesetings.json as well
* remove from cmakelists.txt
Co-authored-by: Sheil Kumar <sheilk@microsoft.com>
Co-authored-by: Changming Sun <chasun@microsoft.com>
2020-04-17 06:18:54 -07:00
Jeff
e89dd92387
Flush and trim resources in DML EP in new OnSessionInitializationEnd method
2020-04-14 21:40:53 -07:00
Ori Levari
f564569a80
Adapter Model and Environment tests ( #3469 )
...
*Adapter Model and Environment tests
*winml test macro clean up and extension
2020-04-14 13:36:31 -07:00
Tiago Koji Castro Shibata
560f4c5b16
Make GPUTEST macro consistent among TAEF/googletest ( #3518 )
2020-04-14 10:55:16 -07:00
Jeff
67443c0e17
Fix winml test compilation errors
2020-04-13 13:06:19 -07:00
Jeff
e3c9fb9fee
Fix build issues
2020-04-13 08:36:14 -07:00
Jeff Bloomfield
b04e48333d
Merge branch 'master' into DmlDev
2020-04-09 11:30:01 -07:00
Tiago Koji Castro Shibata
1fd21c109e
Fix race condition creating ConverterResourceStore ( #3419 )
2020-04-07 11:57:27 -07:00
Tiago Koji Castro Shibata
517693a507
Fix race condition creating ConverterResourceStore ( #3419 )
2020-04-04 20:10:07 -07:00
Tiago Koji Castro Shibata
1671072b6b
[WIP] Port image tests from WAI ( #3365 )
...
* Copy image tests from ADO
* wip
* Port tests to googletest
* Add FNS-Candy license
* Add missing collaterals
* Remove brand images
* Fix typos
* Use PrepareModelSessionBinding in MnistImageTest
* Fix typos
2020-04-01 15:38:44 -07:00
Brian Martin
77c7d09ced
ERROR_NOT_SUPPORTED doesn't trigger Failed Hresult. Need E_NOTIMPL ( #3396 )
2020-04-01 10:06:00 -07:00
Brian Martin
052c1fda44
fix some warnings in concurrency tests ( #3395 )
2020-04-01 10:05:24 -07:00
Tiago Koji Castro Shibata
c3cea486d0
Port ConcurrencyTests from TAEF ( #3086 )
...
* Add ConcurrencyTests
* Make ConcurrencyTests compatible with TAEF
* Use test PCH in concurrency tests
* Fix include header
* Ignore unused code warnings on WINML_SKIP_TEST
* Remove BOM
* Remove conflicting namespace in older SDK
* Refactor duplicate code
* Fix unused DELAYLOAD
* Fix unused DELAYLOAD
* Remove link to internal bug
* Address code style fixes
* Add new concurrency tests
2020-03-27 17:39:22 -07:00
Xiang Zhang
810a10b230
Enable Onnxruntime Telemetry by Default for 1.3 ( #3338 )
2020-03-26 20:57:39 -07:00
Sheil Kumar
51e95ea946
Make ort errors appear in winml exceptions ( #3316 )
...
Co-authored-by: Sheil Kumar <sheilk@microsoft.com>
2020-03-25 12:20:40 -07:00
Sheil Kumar
b72fe13941
Update WinML Projection to accept sequence of tensors ( #3287 )
...
* Enable sequence of tensor
* add tests
* small updates
* There should only be 2 elements returned
* CR feedback, and another 6->2 check update in the test.
* missing semicolon...
* Add explicit to constructor taking pointer paramter
Co-authored-by: Sheil Kumar <sheilk@microsoft.com>
2020-03-23 15:55:20 -07:00
Pranav Sharma
435f014d71
Add support for sessions to share a global threadpool. ( #3177 )
...
* Add support for sessions to share a global threadpool.
* Fix build issues
* Add tests, fix build issues.
* Added some documentation
* Fix centos issue when threadpools become nullptr due to 1 core.
* Fix mac and x86 build issues
* Address some PR comments
* Disabled test for android, added few more tests and addressed more PR comments.
* const_cast
2020-03-18 15:42:46 -07:00
Ori Levari
e63f817eb6
avoid IDXGIFactory 6 where possible to enable WinML GPU Path downlevel to RS3 ( #3180 )
2020-03-16 15:25:32 -07:00
Xiang Zhang
682dde2b3b
add dml_ep_lock ( #3200 )
...
* add dml_ep_lock
* Move Winml process-wide lock back to individual sessions
2020-03-16 14:32:12 -07:00
Jeff Bloomfield
be0c0da9ef
Merged PR 4408735: Fix control over metacommands being enabled or disabled
...
Fix control over metacommands being enabled or disabled
Related work items: #25512218
2020-03-10 17:13:59 +00:00
Ori Levari
5e0f7412cd
Properly handle downlevel and WCOS scenarios ( #3075 )
2020-02-25 17:47:02 -08:00
Xiang Zhang
18aa0940c2
checking condition is wrong ( #3025 )
...
* checking condition is wrong
* remove unnecessary check
2020-02-19 13:29:42 -08:00