Skip to content

RPP Concat for HOST and HIP#530

Merged
kiritigowda merged 231 commits intoROCm:developfrom
r-abishek:ar/opt_concat
Apr 9, 2025
Merged

RPP Concat for HOST and HIP#530
kiritigowda merged 231 commits intoROCm:developfrom
r-abishek:ar/opt_concat

Conversation

@r-abishek
Copy link
Copy Markdown
Member

  • Add tensor support for Concat Augmentation optimized using AVX2 on HOST backend.
  • Add tensor support for Concat Augmentation on HIP backend.
  • Add relevant unit and performance tests support for Concat augmentation in test suite.

Srihari-mcw and others added 30 commits October 4, 2024 08:39
@r-abishek r-abishek requested a review from a team as a code owner March 25, 2025 18:21
Copy link
Copy Markdown
Contributor

@spolifroni-amd spolifroni-amd left a comment

Choose a reason for hiding this comment

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

Changelog needs a bit of clarification.

Also: does this require documentation?

@kiritigowda kiritigowda self-assigned this Mar 25, 2025
@kiritigowda kiritigowda requested a review from rrawther March 25, 2025 20:34
@kiritigowda
Copy link
Copy Markdown
Collaborator

@r-abishek - failing CI

@kiritigowda kiritigowda requested a review from Copilot April 1, 2025 04:20
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 adds tensor support for the Concat augmentation on both HOST and HIP backends, along with updated unit and performance tests. Key changes include:

  • Updating augmentation maps and test cases to include a new concat option.
  • Modifying test command functions in HOST and HIP to pass an additional bitDepth parameter.
  • Extending the test suite parser to handle the new case "3" with appropriate axis mask ranges.

Reviewed Changes

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

File Description
utilities/test_suite/common.py Added "concat" augmentation to the miscAugmentationMap.
utilities/test_suite/HOST/runMiscTests.py Adjusted test ranges and subprocess calls to support tensor-based concat tests.
utilities/test_suite/HIP/runMiscTests.py Updated test commands and profiler commands to include bitDepth parameter.
CHANGELOG.md Updated changelog with new tensor concat augmentation support.
Files not reviewed (11)
  • api/rppdefs.h: Language not supported
  • api/rppt_tensor_geometric_augmentations.h: Language not supported
  • src/include/common/cpu/rpp_cpu_simd_load_store.hpp: Language not supported
  • src/include/tensor/hip_tensor_executors.hpp: Language not supported
  • src/include/tensor/host_tensor_executors.hpp: Language not supported
  • src/modules/tensor/cpu/kernel/gaussian_filter.cpp: Language not supported
  • src/modules/tensor/hip/kernel/concat.cpp: Language not supported
  • src/modules/tensor/rppt_tensor_geometric_augmentations.cpp: Language not supported
  • utilities/test_suite/HIP/Tensor_misc_hip.cpp: Language not supported
  • utilities/test_suite/HOST/Tensor_misc_host.cpp: Language not supported
  • utilities/test_suite/rpp_test_suite_misc.h: Language not supported
Comments suppressed due to low confidence (2)

utilities/test_suite/HOST/runMiscTests.py:51

  • [nitpick] Consider extracting the hardcoded bit depth range (range(7)) into a named constant to improve maintainability and clarity.
bitDepths = range(7)

utilities/test_suite/HIP/runMiscTests.py:78

  • [nitpick] Consider extracting the hardcoded bit depth range (range(7)) into a named constant for improved readability and maintainability.
bitDepths = range(7)

@kiritigowda kiritigowda merged commit 5182317 into ROCm:develop Apr 9, 2025
20 checks passed
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.

8 participants