Skip to content

refactor(rocprim): removal of deprecated functions - #3620

Merged
umfranzw merged 12 commits into
ROCm:developfrom
StreamHPC:users/Saiyang-Zhang/removal-of-deprecated-functions-8-0
Jul 27, 2026
Merged

umfranzw merged 12 commits into
ROCm:developfrom
StreamHPC:users/Saiyang-Zhang/removal-of-deprecated-functions-8-0

Conversation

@Saiyang-Zhang

@Saiyang-Zhang Saiyang-Zhang commented Jan 5, 2026 •

Copy link
Copy Markdown
Contributor

JIRA-ID : EXSWSTRHPC-300

Technical Details

In rocPRIM, the deprecated structures are removed.

In hipCUB, some of the deprecated structures are removed, but for SIMD method structs we need to wait for libhipcxx to provide the substitute.

In rocThrust, the deprecated variable is removed.

In rocRAND, the "deprecated" variables are put in rocrand_device::detail namespace to avoid being exposed public. The namespace is chosen for other files under /rocm-libraries/projects/rocrand/library/include/rocrandlibrary/include/rocrand did the same.

Submission Checklist

@Saiyang-Zhang
Saiyang-Zhang requested review from a team as code owners January 5, 2026 14:23
@NB4444 NB4444 added the organization: streamhpc contributors from streamhpc label Jan 5, 2026
@Saiyang-Zhang
Saiyang-Zhang force-pushed the users/Saiyang-Zhang/removal-of-deprecated-functions-8-0 branch 2 times, most recently from 0354ed1 to a8a8454 Compare January 6, 2026 07:36

@amd-hsong amd-hsong left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me - thanks!

@umfranzw umfranzw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This looks good to me, pending the remaining CI checks.

@Saiyang-Zhang
Saiyang-Zhang force-pushed the users/Saiyang-Zhang/removal-of-deprecated-functions-8-0 branch from a8a8454 to b785a91 Compare January 8, 2026 07:20
@Saiyang-Zhang

Saiyang-Zhang commented Jan 8, 2026 •

Copy link
Copy Markdown
Contributor Author

Corrceted formatting according to CI failures.

@Saiyang-Zhang
Saiyang-Zhang force-pushed the users/Saiyang-Zhang/removal-of-deprecated-functions-8-0 branch from b785a91 to b270466 Compare January 9, 2026 10:01
@Saiyang-Zhang
Saiyang-Zhang force-pushed the users/Saiyang-Zhang/removal-of-deprecated-functions-8-0 branch 3 times, most recently from 88da3f7 to f5e384e Compare January 12, 2026 09:44
assistant-librarian Bot pushed a commit that referenced this pull request Jan 22, 2026
* GEMM Blockscale ABQuant Optimization

* Apply suggestion from @Copilot

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

* Apply suggestion from @Copilot

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

* Apply suggestion from @Copilot

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

* fix precommit error

* clean

* Fix

---------

Co-authored-by: Thomas Ning <Thomas.Ning@amd.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Ding, Yi <yi.ding@amd.com>
ammallya pushed a commit that referenced this pull request Feb 3, 2026
* GEMM Blockscale ABQuant Optimization

* Apply suggestion from @Copilot

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

* Apply suggestion from @Copilot

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

* Apply suggestion from @Copilot

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

* fix precommit error

* clean

* Fix

---------

Co-authored-by: Thomas Ning <Thomas.Ning@amd.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Ding, Yi <yi.ding@amd.com>

[ROCm/composable_kernel commit: 31a35ec]
ErwinTerpstra added a commit that referenced this pull request Feb 9, 2026
@Saiyang-Zhang
Saiyang-Zhang force-pushed the users/Saiyang-Zhang/removal-of-deprecated-functions-8-0 branch 4 times, most recently from 62671e1 to 02cf88d Compare February 19, 2026 08:19
@Saiyang-Zhang
Saiyang-Zhang force-pushed the users/Saiyang-Zhang/removal-of-deprecated-functions-8-0 branch 3 times, most recently from 3fe68e5 to 8529324 Compare March 2, 2026 09:56
@Saiyang-Zhang
Saiyang-Zhang force-pushed the users/Saiyang-Zhang/removal-of-deprecated-functions-8-0 branch from 8529324 to 09e0634 Compare March 19, 2026 08:48
@Naraenda
Naraenda force-pushed the users/Saiyang-Zhang/removal-of-deprecated-functions-8-0 branch from e152c55 to dda42fb Compare June 29, 2026 06:58
@Naraenda

Copy link
Copy Markdown
Member

Rebased

@therock-pr-bot

therock-pr-bot Bot commented Jun 29, 2026 •

Copy link
Copy Markdown

❌ PR Check — Action Required

Check Status Details
🌿 Branch Name ✅ Pass —
📝 PR Title/Description ❌ Fail Error: PR description must reference a JIRA ID, ISSUE ID, or a GitHub closing keyword.
Expected: include a JIRA ID / ISSUE ID line (separator : or -, or omitted; value may be a JIRA key, a number with/without #, or a link), OR a closing keyword + issue reference. Accepted examples:
• JIRA ID : TESTAUTO-6039
• JIRA ID - #330
• JIRA ID #330
• JIRA ID (on separate line)
ROCM-25757
• ISSUE ID : TESTUTO-3334
• ISSUE ID #3334
• ISSUE ID - TESTAUTO-3433
• ISSUE ID (on separate line)
AIRUNTIME-2352
• ISSUE ID : https://github.com/<org_name>/<repo_name>/issues/1234
• Closes #10
• Fixes octo-org/octo-repo#100
• Resolves: #123
• #123
• https://github.com/<org_name>/<repo_name>/issues/123
Current: no valid JIRA/ISSUE/closing-keyword reference found
⛔ Forbidden Files ✅ Pass —
🧪 Unit Test ❌ Fail Error: Source/code files changed without an accompanying unit test.
Expected: add at least one test file named like test_<name>.py / test_<name>.cpp (or <name>_test.*).
Current: code file(s) changed: projects/hipcub/hipcub/include/hipcub/backend/rocprim/iterator/iterator_wrapper.hpp, projects/hipcub/hipcub/include/hipcub/backend/rocprim/util_type.hpp, projects/rocprim/rocprim/include/rocprim/iterator/zip_iterator.hpp, projects/rocprim/rocprim/include/rocprim/type_traits_functions.hpp, projects/rocrand/library/include/rocrand/rocrand_scrambled_sobol32_constants.h (+11 more); no test file found
🔎 pre-commit ✅ Pass —
🚫 Draft PR 🔜 To Be Enabled —
🚩 Feature Flag 🔜 To Be Enabled —
📊 Code Coverage 🔜 To Be Enabled —

⚠️ 2 policy check(s) failed. Please address the issues above before this PR can be Reviewed.

🚫 Please fix the failed policies

  • ❌ PR Title/Description
  • ❌ Unit Test

The Not ready to Review label was added to this PR. Once all policies pass, the label is removed automatically.

📖 Need help? See the Policy FAQ for details on every check and how to fix failures.

@therock-pr-bot

Copy link
Copy Markdown

🚫 Please fix the failed policies before requesting reviews.

The following policy checks failed:

  • ❌ PR Title/Description
  • ❌ Unit Test

The Not ready to Review label has been added to this PR.
Once all policies pass, the label will be removed automatically.

@Naraenda Naraenda changed the title Removal of deprecated functions 8 0 refactor(rocprim): removal of deprecated functions Jun 29, 2026
@Naraenda

Copy link
Copy Markdown
Member

Resolved merge conflict.

@umfranzw

Copy link
Copy Markdown
Contributor

Manually re-triggered CI - will try to get this merged asap.

@umfranzw

Copy link
Copy Markdown
Contributor

Looks like we have a legitimate failure on gfx950:

[ RUN      ] RocprimDeviceSortTests/18.SortKeyValue
/var/jenkins_home/workspace/ibraries_codecov_rocprim_PR-3620/alfNCl6E7/rocprim/projects/rocprim/test/rocprim/test_utils_assertions.hpp:86: Failure
Expected equality of these values:
  val
    Which is: [616; 616; 616; 616]
  expected
    Which is: [617; 617; 617; 617]
where index = 113
Google Test trace:
/var/jenkins_home/workspace/ibraries_codecov_rocprim_PR-3620/alfNCl6E7/rocprim/projects/rocprim/test/rocprim/test_device_merge_sort.cpp:352: with size = 1024
/var/jenkins_home/workspace/ibraries_codecov_rocprim_PR-3620/alfNCl6E7/rocprim/projects/rocprim/test/rocprim/test_device_merge_sort.cpp:348: with seed = 1369133069
/var/jenkins_home/workspace/ibraries_codecov_rocprim_PR-3620/alfNCl6E7/rocprim/projects/rocprim/test/rocprim/test_device_merge_sort.cpp:313: with device_id = 0

@umfranzw

Copy link
Copy Markdown
Contributor

I'm unable to repro the failure, both with and without this PR.

@umfranzw

Copy link
Copy Markdown
Contributor

This appears to be related to the -DBUILD_CODE_COVERAGE=ON option. Working to narrow it down - in the meantime, hopefully we can work around the problem to merge this change.

@umfranzw
umfranzw merged commit 36278dc into ROCm:develop Jul 27, 2026
58 of 71 checks passed
assistant-librarian Bot pushed a commit to ROCm/hipCUB that referenced this pull request Jul 27, 2026
refactor(rocprim): removal of deprecated functions

JIRA-ID : EXSWSTRHPC-300

## Technical Details

In rocPRIM, the deprecated structures are removed.

In hipCUB, some of the deprecated structures are removed, but for `SIMD`
method structs we need to wait for `libhipcxx` to provide the
substitute.

In rocThrust, the deprecated variable is removed.

In rocRAND, the "deprecated" variables are put in
`rocrand_device::detail` namespace to avoid being exposed public. The
namespace is chosen for other files under
`/rocm-libraries/projects/rocrand/library/include/rocrandlibrary/include/rocrand`
did the same.

## Submission Checklist

- [ ] Look over the contributing guidelines at
https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests.
assistant-librarian Bot pushed a commit to ROCm/rocPRIM that referenced this pull request Jul 27, 2026
refactor(rocprim): removal of deprecated functions

JIRA-ID : EXSWSTRHPC-300

## Technical Details

In rocPRIM, the deprecated structures are removed.

In hipCUB, some of the deprecated structures are removed, but for `SIMD`
method structs we need to wait for `libhipcxx` to provide the
substitute.

In rocThrust, the deprecated variable is removed.

In rocRAND, the "deprecated" variables are put in
`rocrand_device::detail` namespace to avoid being exposed public. The
namespace is chosen for other files under
`/rocm-libraries/projects/rocrand/library/include/rocrandlibrary/include/rocrand`
did the same.

## Submission Checklist

- [ ] Look over the contributing guidelines at
https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests.
assistant-librarian Bot pushed a commit to ROCm/rocRAND that referenced this pull request Jul 27, 2026
refactor(rocprim): removal of deprecated functions

JIRA-ID : EXSWSTRHPC-300

## Technical Details

In rocPRIM, the deprecated structures are removed.

In hipCUB, some of the deprecated structures are removed, but for `SIMD`
method structs we need to wait for `libhipcxx` to provide the
substitute.

In rocThrust, the deprecated variable is removed.

In rocRAND, the "deprecated" variables are put in
`rocrand_device::detail` namespace to avoid being exposed public. The
namespace is chosen for other files under
`/rocm-libraries/projects/rocrand/library/include/rocrandlibrary/include/rocrand`
did the same.

## Submission Checklist

- [ ] Look over the contributing guidelines at
https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests.
stanleytsang-amd pushed a commit that referenced this pull request Sep 18, 2026
(cherry picked from commit c3085498c602286ce1c69affdc55eb2f1287380b)
stanleytsang-amd pushed a commit that referenced this pull request Sep 18, 2026
JIRA-ID : EXSWSTRHPC-300

## Technical Details

In rocPRIM, the deprecated structures are removed.

In hipCUB, some of the deprecated structures are removed, but for `SIMD`
method structs we need to wait for `libhipcxx` to provide the
substitute.

In rocThrust, the deprecated variable is removed.

In rocRAND, the "deprecated" variables are put in
`rocrand_device::detail` namespace to avoid being exposed public. The
namespace is chosen for other files under
`/rocm-libraries/projects/rocrand/library/include/rocrandlibrary/include/rocrand`
did the same.

## Submission Checklist

- [ ] Look over the contributing guidelines at
https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests.

---------

Co-authored-by: Nara <nara@streamhpc.com>
illsilin pushed a commit to igorluppi/rocm-libraries that referenced this pull request Oct 1, 2026
JIRA-ID : EXSWSTRHPC-300

## Technical Details

In rocPRIM, the deprecated structures are removed.

In hipCUB, some of the deprecated structures are removed, but for `SIMD`
method structs we need to wait for `libhipcxx` to provide the
substitute.

In rocThrust, the deprecated variable is removed.

In rocRAND, the "deprecated" variables are put in
`rocrand_device::detail` namespace to avoid being exposed public. The
namespace is chosen for other files under
`/rocm-libraries/projects/rocrand/library/include/rocrandlibrary/include/rocrand`
did the same.

## Submission Checklist

- [ ] Look over the contributing guidelines at
https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests.

---------

Co-authored-by: Nara <nara@streamhpc.com>
@Naraenda Naraenda mentioned this pull request Oct 2, 2026
1 task done
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.

7 participants