[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:
zz002 2024-09-06 14:06:33 -07:00 committed by GitHub
parent 493159b481
commit 28b550f091
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,