Skip to content

Commit

Permalink
remove rocm from migraphx perfs tests
Browse files Browse the repository at this point in the history
  • Loading branch information
apwojcik committed Jul 18, 2024
1 parent abf981a commit 1b91090
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions onnxruntime/test/perftest/ort_test_session.cc
Original file line number Diff line number Diff line change
Expand Up @@ -610,10 +610,6 @@ select from 'TF8', 'TF16', 'UINT8', 'FLOAT', 'ITENSOR'. \n)");
} else if (provider_name_ == onnxruntime::kMIGraphXExecutionProvider) {
#ifdef USE_MIGRAPHX
Ort::ThrowOnError(OrtSessionOptionsAppendExecutionProvider_MIGraphX(session_options, 0));
OrtROCMProviderOptions rocm_options;
rocm_options.miopen_conv_exhaustive_search = performance_test_config.run_config.cudnn_conv_algo;
rocm_options.do_copy_in_default_stream = !performance_test_config.run_config.do_cuda_copy_in_separate_stream;
session_options.AppendExecutionProvider_ROCM(rocm_options);
#else
ORT_THROW("MIGraphX is not supported in this build\n");
#endif
Expand Down

0 comments on commit 1b91090

Please sign in to comment.