Skip to content

Commit

Permalink
[perftest] Enable perf tests for IREE EP
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayakdsci committed Oct 28, 2024
1 parent ecebd73 commit 42273fb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions onnxruntime/test/perftest/ort_test_session.cc
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,12 @@ select from 'TF8', 'TF16', 'UINT8', 'FLOAT', 'ITENSOR'. \n)");
Ort::ThrowOnError(OrtSessionOptionsAppendExecutionProvider_Nnapi(session_options, nnapi_flags));
#else
ORT_THROW("NNAPI is not supported in this build\n");
#endif
} else if (provider_name_ == onnxruntime::kIreeExecutionProvider) {
#ifdef USE_IREE
session_options.AppendExecutionProvider("IREE");
#else
ORT_THROW("IREE is not supported in this build\n");
#endif
} else if (provider_name_ == onnxruntime::kVSINPUExecutionProvider) {
#ifdef USE_VSINPU
Expand Down

0 comments on commit 42273fb

Please sign in to comment.