Skip to content

Common Typo Fix - Helper function rename#645

Merged
kiritigowda merged 2 commits intoROCm:developfrom
r-abishek:ar/bugfix_minor_typo
Dec 4, 2025
Merged

Common Typo Fix - Helper function rename#645
kiritigowda merged 2 commits intoROCm:developfrom
r-abishek:ar/bugfix_minor_typo

Conversation

@r-abishek
Copy link
Copy Markdown
Member

  • Common typo fix - Rename function from hip_exec_roi_converison_ltrb_to_xywh to hip_exec_roi_conversion_ltrb_to_xywh

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a widespread typo in function naming across the codebase. The function hip_exec_roi_converison_ltrb_to_xywh has been renamed to hip_exec_roi_conversion_ltrb_to_xywh (correcting "converison" to "conversion").

  • Corrected spelling of function name from "converison" to "conversion"
  • Updated all 54 call sites across HIP kernel files
  • Updated function declaration in header file

Reviewed changes

Copilot reviewed 50 out of 50 changed files in this pull request and generated no comments.

File Description
src/modules/tensor/hip/kernel/*.cpp (52 files) Updated function calls to use correct spelling
src/include/common/hip/rpp_hip_roi_conversion.hpp Updated function definition to use correct spelling
src/include/batch_pd/hip/rpp_hip_host_decls.hpp Updated function declaration to use correct spelling
Comments suppressed due to low confidence (1)

src/include/common/hip/rpp_hip_roi_conversion.hpp:32

  • The kernel function name still contains the typo 'converison' and should be renamed to 'roi_conversion_ltrb_to_xywh' to match the corrected wrapper function name.
static __global__ void roi_converison_ltrb_to_xywh(int *roiTensorPtrSrc)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link
Copy Markdown

codecov bot commented Dec 3, 2025

Codecov Report

❌ Patch coverage is 0% with 50 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/modules/tensor/hip/kernel/tensor_sum.cpp 0.00% 3 Missing ⚠️
src/modules/tensor/hip/kernel/bitwise_and.cpp 0.00% 1 Missing ⚠️
src/modules/tensor/hip/kernel/bitwise_not.cpp 0.00% 1 Missing ⚠️
src/modules/tensor/hip/kernel/bitwise_or.cpp 0.00% 1 Missing ⚠️
src/modules/tensor/hip/kernel/bitwise_xor.cpp 0.00% 1 Missing ⚠️
src/modules/tensor/hip/kernel/blend.cpp 0.00% 1 Missing ⚠️
src/modules/tensor/hip/kernel/box_filter.cpp 0.00% 1 Missing ⚠️
src/modules/tensor/hip/kernel/brightness.cpp 0.00% 1 Missing ⚠️
src/modules/tensor/hip/kernel/color_cast.cpp 0.00% 1 Missing ⚠️
...rc/modules/tensor/hip/kernel/color_temperature.cpp 0.00% 1 Missing ⚠️
... and 38 more
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #645      +/-   ##
===========================================
- Coverage    88.33%   88.20%   -0.13%     
===========================================
  Files          195      195              
  Lines        82723    82723              
===========================================
- Hits         73068    72964     -104     
- Misses        9655     9759     +104     
Files with missing lines Coverage Δ
src/include/common/hip/rpp_hip_roi_conversion.hpp 50.00% <ø> (ø)
src/modules/tensor/hip/kernel/bitwise_and.cpp 98.55% <0.00%> (ø)
src/modules/tensor/hip/kernel/bitwise_not.cpp 98.44% <0.00%> (ø)
src/modules/tensor/hip/kernel/bitwise_or.cpp 98.55% <0.00%> (ø)
src/modules/tensor/hip/kernel/bitwise_xor.cpp 98.53% <0.00%> (ø)
src/modules/tensor/hip/kernel/blend.cpp 98.63% <0.00%> (ø)
src/modules/tensor/hip/kernel/box_filter.cpp 99.64% <0.00%> (ø)
src/modules/tensor/hip/kernel/brightness.cpp 98.63% <0.00%> (ø)
src/modules/tensor/hip/kernel/color_cast.cpp 98.63% <0.00%> (ø)
...rc/modules/tensor/hip/kernel/color_temperature.cpp 98.51% <0.00%> (ø)
... and 39 more

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kiritigowda kiritigowda merged commit 676914b into ROCm:develop Dec 4, 2025
11 of 13 checks passed
HazarathKumarM pushed a commit to RooseweltMcW/rpp that referenced this pull request Dec 22, 2025
…i_conversion_ltrb_to_xywh (ROCm#645)

Co-authored-by: Srihari-mcw <srihari@multicorewareinc.com>
HazarathKumarM pushed a commit to HazarathKumarM/rpp that referenced this pull request Jan 6, 2026
…i_conversion_ltrb_to_xywh (ROCm#645)

Co-authored-by: Srihari-mcw <srihari@multicorewareinc.com>
JeniferC99 pushed a commit that referenced this pull request Jan 22, 2026
* F16 variants - Update loads and stores to AVX2 - Group 4 (#627)

* Make changes for exposure, log and spatter

* Updates for crop mirror normalize

* Fix memory issues with log 1D

* Remove changes for crop mirror normalize and restore rpp_cpu_simd_load_store.hpp

* Update the alignedLength for log

---------

Co-authored-by: Srihari-mcw <srihari@multicorewareinc.com>
Co-authored-by: Kiriti Gowda <kiritigowda@gmail.com>
Co-authored-by: Lakshmi Kumar <lakshmi.kumar@amd.com>

* Package - Enable Lintian Support rpp (#633)

* fix lintian errors

* fix lintian overrides static error

* lintian errors fixed

* move lintian overrides into if deb check

* use existing changelog. fix formatting

* not installing lintian overrides. keeping original changelog name

* remove overrides

---------

Co-authored-by: Lakshmi Kumar <lakshmi.kumar@amd.com>
Co-authored-by: Kiriti Gowda <kiritigowda@gmail.com>

* Docs - Bump rocm-docs-core[api_reference] from 1.27.0 to 1.29.0 in /docs/sphinx (#638)

Bumps [rocm-docs-core[api_reference]](https://github.com/ROCm/rocm-docs-core) from 1.27.0 to 1.29.0.
- [Release notes](https://github.com/ROCm/rocm-docs-core/releases)
- [Changelog](https://github.com/ROCm/rocm-docs-core/blob/develop/CHANGELOG.md)
- [Commits](ROCm/rocm-docs-core@v1.27.0...v1.29.0)

---
updated-dependencies:
- dependency-name: rocm-docs-core[api_reference]
  dependency-version: 1.29.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kiriti Gowda <kiritigowda@gmail.com>

* Test suite - Add QA pass/fail tests for F32 bit depth (#631)

* Added golden outputs and resolved HOST backend

* Updated bin files for median filter and resize crop mirror

* Fix for median filter F32 QA

* Updated bin files

* Updated rcm review comments

* Updated comments for rmn

* Modified bitdepths and resolved review comments

* Fix typo

* resolve review comments

---------

Co-authored-by: sampath117 <snehaa@multicorewareinc.com>
Co-authored-by: HazarathKumarM <hazarathkumar@multicorewareinc.com>
Co-authored-by: Kiriti Gowda <kiritigowda@gmail.com>
Co-authored-by: Lakshmi Kumar <lakshmi.kumar@amd.com>

* Test Suite - Error Code Capture for all tests (#635)

* Updates to capture error code

* Intialize RPP_SUCCESS as default value

* Update the code to display error status as part of the C++ code execution

* Update rpp_test_suite_common.h

* Update utilities/test_suite/HIP/Tensor_audio_hip.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update utilities/test_suite/HIP/Tensor_image_hip.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update utilities/test_suite/HIP/Tensor_misc_hip.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update utilities/test_suite/HIP/Tensor_voxel_hip.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update utilities/test_suite/HOST/Tensor_audio_host.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update utilities/test_suite/HOST/Tensor_image_host.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update utilities/test_suite/HOST/Tensor_misc_host.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update utilities/test_suite/HOST/Tensor_voxel_host.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fixes for CI issues

* Restore naming convention in voxel test suite

* Fix compilation issues

* Update the code to use func for funcName

* Modify error message

* Modify the print statements

---------

Co-authored-by: Srihari-mcw <srihari@multicorewareinc.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Kiriti Gowda <kiritigowda@gmail.com>

* F16 variants - Update loads and stores to AVX2 - Group 5 (#637)

* Updates for crop mirror normalize

* Updated flip F16 rawC and load store modifications

* Updated blend with AVX support for F16 bitdepth

* Updated color cast with AVX support for F16 bitdepth

* Remove empty lines

* Update comments

* Fix comment in common function

---------

Co-authored-by: Srihari-mcw <srihari@multicorewareinc.com>
Co-authored-by: Kiriti Gowda <kiritigowda@gmail.com>

* Docs - Bump rocm-docs-core[api_reference] from 1.29.0 to 1.30.0 in /docs/sphinx (#640)

Bumps [rocm-docs-core[api_reference]](https://github.com/ROCm/rocm-docs-core) from 1.29.0 to 1.30.0.
- [Release notes](https://github.com/ROCm/rocm-docs-core/releases)
- [Changelog](https://github.com/ROCm/rocm-docs-core/blob/develop/CHANGELOG.md)
- [Commits](ROCm/rocm-docs-core@v1.29.0...v1.30.0)

---
updated-dependencies:
- dependency-name: rocm-docs-core[api_reference]
  dependency-version: 1.30.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* HOST and HIP - pinned buffers for respective API (#628)

* Removed memcpy and used hipHostMalloc for allocation : blend

* Removed memcpy and used hipHostMalloc for allocation : brightness

* Removed memcpy and used hipHostMalloc for allocation : color cast

* Removed memcpy and used hipHostMalloc for allocation : color twist

* Removed memcpy and used hipHostMalloc for allocation : contrast

* Removed memcpy and used hipHostMalloc for allocation : crop mirror normalize

* Removed memcpy and used hipHostMalloc for allocation : Exposure

* Removed memcpy and used hipHostMalloc for allocation : Gamma correction

* Removed memcpy and used hipHostMalloc for allocation : gaussian filter

* Removed memcpy and used hipHostMalloc for allocation : Noise

* Removed memcpy and used hipHostMalloc for allocation : Non linear blend

* Removed memcpy and used hipHostMalloc for allocation : Resize mirror normalize

* Removed memcpy and used hipHostMalloc for allocation : Water

* Added hipHostFree for all kernels in test suite

* Added hipHostFree for all kernels in test suite

* Removed memcpy and used hipHostMalloc for allocation : Flip, spatter, rcm, color temperature

* Resolved copilot review comments

* Updated version

* Removed unused parameter

* Updated version in cmakeList

* removed the host to device mem copies for warp affine and rotate

* Updated version

* Removed comment

* Updated Chnagelog file

* Update patch version from 2.2.0 to 2.2.1

* Update CHANGELOG

* Address copilot comments for HIP HOST consistent allocation

* Documentation changes for updated memcpy changes

* Update ricap outer API to use pinned memory and remove mem copy

* Fix memory allocation and deallocation for permutationTensor

* Update api/rppt_tensor_effects_augmentations.h

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix spelling of noiseProbability and saltProbability

* Fix deallocation

---------

Co-authored-by: HazarathKumarM <hazarathkumar@multicorewareinc.com>
Co-authored-by: Kiriti Gowda <kiritigowda@gmail.com>
Co-authored-by: Srihari-mcw <srihari@multicorewareinc.com>
Co-authored-by: hmaddise <HazarathKumar.Maddisetty@amd.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Docs - Bump rocm-docs-core[api_reference] from 1.30.0 to 1.30.1 in /docs/sphinx (#643)

Bumps [rocm-docs-core[api_reference]](https://github.com/ROCm/rocm-docs-core) from 1.30.0 to 1.30.1.
- [Release notes](https://github.com/ROCm/rocm-docs-core/releases)
- [Changelog](https://github.com/ROCm/rocm-docs-core/blob/develop/CHANGELOG.md)
- [Commits](ROCm/rocm-docs-core@v1.30.0...v1.30.1)

---
updated-dependencies:
- dependency-name: rocm-docs-core[api_reference]
  dependency-version: 1.30.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* CMakelists - Add optional GPU targets (#641)

* add optional gpu targets

* add addiitonal gpu targets

* Rename function - hip_exec_roi_converison_ltrb_to_xywh to hip_exec_roi_conversion_ltrb_to_xywh (#645)

Co-authored-by: Srihari-mcw <srihari@multicorewareinc.com>

* Docs - Update CHANGELOG.md (#646)

Updates

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Abishek <52214183+r-abishek@users.noreply.github.com>
Co-authored-by: Srihari-mcw <srihari@multicorewareinc.com>
Co-authored-by: Lakshmi Kumar <lakshmi.kumar@amd.com>
Co-authored-by: jonatluu <jonatluu@amd.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sampath117 <snehaa@multicorewareinc.com>
Co-authored-by: HazarathKumarM <hazarathkumar@multicorewareinc.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: hmaddise <HazarathKumar.Maddisetty@amd.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants