Conversation
There was a problem hiding this comment.
Pull request overview
This PR performs a spelling/typo cleanup sweep across MIGraphX source, tests, docs, and build/support files to improve readability and reduce minor friction in comments/messages.
Changes:
- Corrects spelling in comments and documentation across multiple components (ONNX parsing, RNN rewrite, GPU kernels, etc.).
- Fixes typos in user-facing/build-facing text (e.g., CMake fatal error message, driver error string).
- Updates changelog wording and various developer docs/test comments for consistency.
Reviewed changes
Copilot reviewed 21 out of 21 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| test/ref_dev_examples.cpp | Fixes comment typos in a reference-device example test. |
| test/py/onnx_backend_test.py | Fixes a typo in a disabled-tests comment. |
| src/targets/gpu/kernels/include/migraphx/kernels/float8_impl.hpp | Corrects spelling in float8 conversion comments (GPU kernel header). |
| src/targets/gpu/compile_gen.cpp | Fixes typo in a codegen comment. |
| src/simplify_qdq.cpp | Fixes typo in quantization-related comment. |
| src/rewrite_rnn.cpp | Fixes typos in GRU/LSTM activation-function comments. |
| src/onnx/parse_softmaxcrossentropyloss.cpp | Fixes typos in comments describing index selection/calculation. |
| src/onnx/parse_attention.cpp | Fixes typo in a raw-mask behavior comment. |
| src/memory_coloring.cpp | Fixes typo in a segment-insertion comment. |
| src/include/migraphx/op/scatter_op.hpp | Fixes typo in scatter op comment. |
| src/include/migraphx/op/onehot.hpp | Fixes typos in OneHot operator documentation. |
| src/include/migraphx/module.hpp | Fixes typo in public API doc comment. |
| src/include/migraphx/float8_impl.hpp | Corrects spelling in float8 conversion comments (host header). |
| src/include/migraphx/common.hpp | Fixes Doxygen tag formatting (@brief). |
| src/driver/main.cpp | Fixes typo in an exception message. |
| docs/dev/onnx_operators.rst | Fixes typos in the operator support matrix table text. |
| docs/dev/dev_intro.rst | Fixes comment typos in developer intro snippet. |
| docs/dev/contributing-to-migraphx.rst | Fixes comment typos in contributing guide snippet. |
| Dockerfile | Fixes typo in a build comment. |
| CMakeLists.txt | Fixes typo in a fatal configuration error message. |
| CHANGELOG.md | Corrects multiple spelling issues in changelog entries/headers. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
src/memory_coloring.cpp
Outdated
| assert(n > 0); | ||
| std::size_t start = 0; | ||
| // Insert at end if it cant fit at the begining | ||
| // Insert at end if it cant fit at the beginning |
There was a problem hiding this comment.
The comment still uses "cant" (without apostrophe) in the sense of "cannot". Elsewhere in the codebase comments use "can't", so this looks like a remaining typo; consider updating to "can't" for consistency.
| // Insert at end if it cant fit at the beginning | |
| // Insert at end if it can't fit at the beginning |
| weights = info.add_instruction(migraphx::make_op("transpose", {{"permutation", perm}}), | ||
| weights); | ||
| weights = info.add_instruction(migraphx::make_op("gathernd"), weights, gathernd_indicies); | ||
|
|
There was a problem hiding this comment.
The local identifier "gathernd_indicies" is misspelled ("indices"). Since this PR is already cleaning up spelling, consider renaming this variable (and related locals like "batch_dim_indicies") to "*_indices" to improve readability and grep-ability.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #4692 +/- ##
========================================
Coverage 92.27% 92.27%
========================================
Files 578 578
Lines 28541 28541
========================================
Hits 26335 26335
Misses 2206 2206
🚀 New features to boost your workflow:
|
Motivation
May not be a comprehensive list, but a quick sweep through the codebase for common spelling mistakes.
Technical Details
Changelog Category
Add a
CHANGELOG.mdentry for any option other thanNot Applicable