Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
lintrunner
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
wonchung-microsoft and github-actions[bot] authored Jul 23, 2025
commit bcf5cb586a52bac347ad14d6a5986989f61a0a6c
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@
const OrtApi& ort_api;
const OrtLogger& default_logger;
const std::string ep_name;
const std::string vendor{"AMD"};

Check warning on line 251 in onnxruntime/core/providers/migraphx/migraphx_provider_factory.cc

View workflow job for this annotation

GitHub Actions / Optional Lint C++

[cpplint] reported by reviewdog 🐶 Add #include <string> for string [build/include_what_you_use] [4] Raw Output: onnxruntime/core/providers/migraphx/migraphx_provider_factory.cc:251: Add #include <string> for string [build/include_what_you_use] [4]

const uint32_t vendor_id{0x1002};
const OrtHardwareDeviceType ort_hw_device_type; // Supported OrtHardwareDevice
Expand All @@ -264,10 +264,10 @@
const OrtApi* ort_api = ort_api_base->GetApi(ORT_API_VERSION);

// Factory could use registration_name or define its own EP name.
auto factory_gpu = std::make_unique<MigraphXEpFactory>(*ort_api,

Check warning on line 267 in onnxruntime/core/providers/migraphx/migraphx_provider_factory.cc

View workflow job for this annotation

GitHub Actions / Optional Lint C++

[cpplint] reported by reviewdog 🐶 Add #include <memory> for make_unique<> [build/include_what_you_use] [4] Raw Output: onnxruntime/core/providers/migraphx/migraphx_provider_factory.cc:267: Add #include <memory> for make_unique<> [build/include_what_you_use] [4]
onnxruntime::kMIGraphXExecutionProvider,
OrtHardwareDeviceType_GPU,
*default_logger);
onnxruntime::kMIGraphXExecutionProvider,
OrtHardwareDeviceType_GPU,
*default_logger);

if (max_factories < 1) {
return ort_api->CreateStatus(ORT_INVALID_ARGUMENT,
Expand Down
Loading