Sheil Kumar
3d0bd2596f
Enable creating OrtValues from ID3D12Resources from the onnxruntime C-API ( #9686 )
...
* Add onnxruntime-windows api.
* minor fixes
* add to package headers
* Build ort_dml_api for provider extensions.
* Cleanup
* misc comment
* remove winml specific comments
* use dml check in onnxruntime
* Update include/onnxruntime/core/providers/dml/dml_provider_factory.h
Co-authored-by: Dwayne Robinson <dwayner@microsoft.com>
* Update include/onnxruntime/core/session/onnxruntime_c_api.h
Co-authored-by: Dwayne Robinson <dwayner@microsoft.com>
* Update include/onnxruntime/core/providers/dml/dml_provider_factory.h
Co-authored-by: Dwayne Robinson <dwayner@microsoft.com>
* Update include/onnxruntime/core/providers/dml/dml_provider_factory.h
Co-authored-by: Dwayne Robinson <dwayner@microsoft.com>
* Update onnxruntime/core/session/onnxruntime_c_api.cc
Co-authored-by: Dwayne Robinson <dwayner@microsoft.com>
* Update onnxruntime/core/session/ort_apis.h
Co-authored-by: Dwayne Robinson <dwayner@microsoft.com>
* Update winml/test/adapter/AdapterSessionTest.cpp
Co-authored-by: Dwayne Robinson <dwayner@microsoft.com>
* Update onnxruntime/core/session/onnxruntime_c_api.cc
Co-authored-by: Dwayne Robinson <dwayner@microsoft.com>
* Update winml/adapter/winml_adapter_c_api.cpp
Co-authored-by: Dwayne Robinson <dwayner@microsoft.com>
* Update include/onnxruntime/core/session/onnxruntime_c_api.h
Co-authored-by: Pranav Sharma <prs@microsoft.com>
* Update onnxruntime/core/session/onnxruntime_c_api.cc
Co-authored-by: Pranav Sharma <prs@microsoft.com>
* Update winml/adapter/winml_adapter_c_api.cpp
* PR feedback
* Update include/onnxruntime/core/providers/dml/dml_provider_factory.h
Co-authored-by: Dwayne Robinson <dwayner@microsoft.com>
* Update include/onnxruntime/core/providers/dml/dml_provider_factory.h
Co-authored-by: Dwayne Robinson <dwayner@microsoft.com>
* Update include/onnxruntime/core/providers/dml/dml_provider_factory.h
Co-authored-by: Dwayne Robinson <dwayner@microsoft.com>
* PR feedback
* merge resolution and unreference param
* (naming) Remove Dml prefix
* maybe unused version
* move DML code into DML path. CIs failing because DML is not available when --use_dml is not on
* fix warning causing local build failures after merging
* Change getvaluememoryinfo to gettensormemoryinfo
* minor breaks
* fix comment paste
* fix comment
Co-authored-by: Sheil Kumar <sheilk@microsoft.com>
Co-authored-by: Dwayne Robinson <dwayner@microsoft.com>
Co-authored-by: Pranav Sharma <prs@microsoft.com>
2021-11-13 03:34:54 -08:00
Tiago Koji Castro Shibata
62c0d24340
Fix Windows Store build ( #8753 )
...
* Remove APIs unavailable in Store in #8349 , #8178 , #8065
* Add UWP stubs of C runtime functions
* Remove UWP incompatible tests from UWP build
* Remove incompatible tests from Store
* Use UWP stubs in store only
* Skip partition check outside of Windows
* Remove unused WRL include
* Workaround Windows header not including what it uses
* Fix precompiled header name clash
* Workaround SDK bugs
* DXCore workaround in Win7
* Fix warning
* Fix more warnings
* Bump WinML to target Windows 8
* Fix more warnings
* Remove unnecessary workarounds
* Remove Desktop only APIs from DML adapter
2021-08-23 11:19:03 -07:00
ytaous
0725f80d2d
Revert "Fix Windows Store build ( #8481 )" ( #8679 )
...
This reverts commit 53e7831b53 .
2021-08-11 00:37:36 -07:00
Tiago Koji Castro Shibata
53e7831b53
Fix Windows Store build ( #8481 )
...
* Remove APIs unavailable in Store in #8349 , #8178 , #8065
* Add UWP stubs of C runtime functions
* Remove UWP incompatible tests from UWP build
* Remove incompatible tests from Store
* Use UWP stubs in store only
* Skip partition check outside of Windows
* Remove unused WRL include
* Workaround Windows header not including what it uses
* Fix precompiled header name clash
* Workaround SDK bugs
* DXCore workaround in Win7
* Fix warning
* Fix more warnings
* Bump WinML to target Windows 8
* Fix more warnings
* Remove unnecessary workarounds
2021-08-10 15:19:30 -07:00
Ryan Lai
753af576c4
If building inbox, hook up winrt_activation_handler for WinML Tests ( #6074 )
...
* If building inbox, hook up winrt_activation_handler with what is already defined in in dllload.cpp
* Add base.h header
* Missed custom ops test
2020-12-10 14:41:01 -08:00
Tiago Koji Castro Shibata
83ead3e2eb
Fix com ptr refcount ( #5404 )
2020-10-08 10:18:38 -07:00
Tiago Koji Castro Shibata
385073e1cd
Fix DmlCopyTensor test ( #3923 )
...
* Fix heap corruption
* Cleanup
2020-05-13 09:14:55 -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