Skip to content

[rocPRIM][hipCUB] Add minimum version in find_package call for Google Benchmark#2405

Merged
umfranzw merged 1 commit into
developfrom
users/umfranzw/add_min_benchmark_requirement
Nov 7, 2025
Merged

[rocPRIM][hipCUB] Add minimum version in find_package call for Google Benchmark#2405
umfranzw merged 1 commit into
developfrom
users/umfranzw/add_min_benchmark_requirement

Conversation

@umfranzw
Copy link
Copy Markdown
Contributor

Motivation

In the rocPRIM and hipCUB cmake dependencies files, no minimum Google Benchmark version is specified in the call to find_package. This can cause CMake to grab an incompatible version of the library, causing the build to fail.
rocThrust and rocRAND already do this.

Technical Details

This change adds a minimum version. I've set it to the version that's downloaded when the library isn't present.

Test Plan

Install Google Benchmark < 1.8.0 from the github repo here: https://github.com/google/benchmark.
Build rocPRIM and hipCUB with -DBENCHMARK=ON.
Verify that there are no build errors.

Test Result

No build errors observed.

Submission Checklist

In the rocPRIM and hipCUB cmake dependencies files, no minimum
Google Benchmark version is specified in the call to find_package.
This can cause CMake to grab an incompatible version of the library,
causing the build to fail.

This change adds a minimum version. I've set it to the version that's
downloaded when the library isn't present.
@umfranzw umfranzw requested a review from a team as a code owner October 31, 2025 18:22
@umfranzw umfranzw changed the title Add minimum version in find_package call for Google Benchmark [rocPRIM][hipCUB] Add minimum version in find_package call for Google Benchmark Oct 31, 2025
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Oct 31, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

Additional details and impacted files
@@             Coverage Diff              @@
##           develop    #2405       +/-   ##
============================================
+ Coverage    67.19%   81.83%   +14.64%     
============================================
  Files          362       42      -320     
  Lines        50705     2609    -48096     
  Branches      5708       96     -5612     
============================================
- Hits         34069     2135    -31934     
+ Misses       13052      421    -12631     
+ Partials      3584       53     -3531     
Flag Coverage Δ
hipCUB 81.83% <ø> (?)
rocBLAS ?

Flags with carried forward coverage won't be shown. Click here to find out more.
see 404 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

NolanHannaAMD pushed a commit that referenced this pull request Nov 3, 2025
Update build to pull hipdnn from `rocm-libraries` and update clang to
version 20 from TheRock.

Co-authored-by: Sambhav Jain <sambhav.jain@amd.com>
@umfranzw umfranzw merged commit ab250d4 into develop Nov 7, 2025
23 of 25 checks passed
@umfranzw umfranzw deleted the users/umfranzw/add_min_benchmark_requirement branch November 7, 2025 19:51
assistant-librarian Bot pushed a commit to ROCm/hipCUB that referenced this pull request Nov 7, 2025
[rocPRIM][hipCUB] Add minimum version in find_package call
 for Google Benchmark (#2405)

## Motivation

In the rocPRIM and hipCUB cmake dependencies files, no minimum Google
Benchmark version is specified in the call to find_package. This can
cause CMake to grab an incompatible version of the library, causing the
build to fail.
rocThrust and rocRAND already do this.

## Technical Details

This change adds a minimum version. I've set it to the version that's
downloaded when the library isn't present.

## Test Plan

Install Google Benchmark < 1.8.0 from the github repo here:
https://github.com/google/benchmark.
Build rocPRIM and hipCUB with -DBENCHMARK=ON.
Verify that there are no build errors.

## Test Result

No build errors observed.

## 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 Nov 7, 2025
[rocPRIM][hipCUB] Add minimum version in find_package call
 for Google Benchmark (#2405)

## Motivation

In the rocPRIM and hipCUB cmake dependencies files, no minimum Google
Benchmark version is specified in the call to find_package. This can
cause CMake to grab an incompatible version of the library, causing the
build to fail.
rocThrust and rocRAND already do this.

## Technical Details

This change adds a minimum version. I've set it to the version that's
downloaded when the library isn't present.

## Test Plan

Install Google Benchmark < 1.8.0 from the github repo here:
https://github.com/google/benchmark.
Build rocPRIM and hipCUB with -DBENCHMARK=ON.
Verify that there are no build errors.

## Test Result

No build errors observed.

## Submission Checklist

- [ ] Look over the contributing guidelines at
https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests.
ammallya pushed a commit that referenced this pull request Feb 3, 2026
* add prefetching physical block id for pagedkv

* start add pagedkv prefill

* rename pipeline

* add kernel for pagedkv

* add an init version pagedkv prefill

* fix redefine issue

* add struct BlockFmhaFwdPagedKVPipelineProblem and fmha_fwd_pagedkv_args

* generate dispatch code

* add body generating code

* comipling pass

* remove dropout from pagedkv

* set lse to false in generating code

* start changing qr kernel to pagedkv

* init version of  kernerl with pagedkv

* change names of file that are generated

* chang host validation for pagedkv prefill

* using iglp to change blockgemm

* add kernel files to op head file

* show parameters

* rewrite print parameter fun

* add fwd

* remove default parameter of GridSize

* format

* fix nhead issue and add seqlen_k_ptr to batch mode

* format code

* remove no-longer used code

* format

* fix some comments

---------

Co-authored-by: ltqin <letaoqin@amd.com>
Co-authored-by: Po Yen Chen <PoYen.Chen@amd.com>

[ROCm/composable_kernel commit: 9f4c5d7]
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.

3 participants