Skip to content

Commit

Permalink
[VitisAI] Add processing for sessionOptions.AppendExecutionProvider("…
Browse files Browse the repository at this point in the history
…VitisAI", options)
  • Loading branch information
Zhenze Wang committed Aug 23, 2024
1 parent 4c4ae1e commit bb572f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions onnxruntime/core/session/provider_registration.cc
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ ORT_API_STATUS_IMPL(OrtApis::SessionOptionsAppendExecutionProvider,
#else
status = create_not_supported_status();
#endif
} else if (strcmp(provider_name, "VitisAI") == 0) {
OrtApis::SessionOptionsAppendExecutionProvider_VitisAI(options, provider_options_keys, provider_options_values, num_keys);
} else {
ORT_UNUSED_PARAMETER(options);
status = OrtApis::CreateStatus(ORT_INVALID_ARGUMENT,
Expand Down

0 comments on commit bb572f6

Please sign in to comment.