mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-29 20:14:01 +00:00
[VitisAI] Add processing for sessionOptions.AppendExecutionProvider("VitisAI", options) (#21839)
### Description
<!-- Describe your changes. -->
[VitisAI] Add processing for
sessionOptions.AppendExecutionProvider("VitisAI", options)
### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
---------
Co-authored-by: Zhenze Wang <zhenzew@xilinx.com>
This commit is contained in:
parent
493159b481
commit
28b550f091
1 changed files with 2 additions and 0 deletions
|
|
@ -148,6 +148,8 @@ ORT_API_STATUS_IMPL(OrtApis::SessionOptionsAppendExecutionProvider,
|
|||
#else
|
||||
status = create_not_supported_status();
|
||||
#endif
|
||||
} else if (strcmp(provider_name, "VitisAI") == 0) {
|
||||
status = OrtApis::SessionOptionsAppendExecutionProvider_VitisAI(options, provider_options_keys, provider_options_values, num_keys);
|
||||
} else {
|
||||
ORT_UNUSED_PARAMETER(options);
|
||||
status = OrtApis::CreateStatus(ORT_INVALID_ARGUMENT,
|
||||
|
|
|
|||
Loading…
Reference in a new issue