Skip to content

[rocWMMA] CMake changes for integration into TheRock#2322

Merged
bsyrowik merged 3 commits into
developfrom
users/bsyrowik/rocwmma_therock
Nov 6, 2025
Merged

[rocWMMA] CMake changes for integration into TheRock#2322
bsyrowik merged 3 commits into
developfrom
users/bsyrowik/rocwmma_therock

Conversation

@bsyrowik
Copy link
Copy Markdown
Contributor

@bsyrowik bsyrowik commented Oct 28, 2025

Motivation

These changes are required to integrate rocWMMA into TheRock. This PR subsumes the patches from my PR for TheRock here: ROCm/TheRock#1938

Technical Details

Mostly changes to testing and CMake configuration.
Notably:

  • Update googletest dependency.
  • Create new regression and smoke test ctest files.
  • Suggest using Ninja.
  • Export the project.

Test Plan

TheRock CI:
https://github.com/ROCm/TheRock/actions/runs/18804601794

An equivalent PR from ROCm/rocWMMA passed all checks as well:
https://github.com/ROCm/rocWMMA/pull/601/checks

Test Result

Tests passed

Submission Checklist

@bsyrowik
Copy link
Copy Markdown
Contributor Author

bsyrowik commented Oct 29, 2025

Waiting for #2321 and #2365 before moving from Draft -> Ready.

Azure CI and Math CI pipelines will not be enabled until at least EOW, if not later.

@bsyrowik bsyrowik force-pushed the users/bsyrowik/rocwmma_therock branch 2 times, most recently from 1d099aa to 24aa49e Compare October 29, 2025 23:46
@cgmillette cgmillette requested a review from Copilot October 30, 2025 15:15
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 updates the rocWMMA test infrastructure by upgrading GoogleTest to version 1.16.0, modernizing the CMake configuration, and adding support for smoke and regression test suites.

Key changes:

  • Upgraded GoogleTest from version 1.12.1 to 1.16.0 with improved FetchContent integration
  • Added separate test file generation for smoke and regression test suites
  • Updated CMake to prefer Ninja generator and export package targets

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
projects/rocwmma/test/CMakeLists.txt Updated GoogleTest to 1.16.0, modernized FetchContent usage, added smoke/regression test files, and fixed rpath escaping
projects/rocwmma/samples/CMakeLists.txt Fixed comment to correctly describe "binaries" instead of "gtests"
projects/rocwmma/CMakeLists.txt Added Ninja generator preference warning and CMake package export configuration

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

Comment thread projects/rocwmma/test/CMakeLists.txt Outdated
@bsyrowik bsyrowik force-pushed the users/bsyrowik/rocwmma_therock branch 3 times, most recently from 53c4884 to 9073684 Compare October 30, 2025 18:35
@bsyrowik bsyrowik marked this pull request as ready for review October 30, 2025 18:45
Copy link
Copy Markdown
Contributor

@cgmillette cgmillette left a comment

Choose a reason for hiding this comment

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

lgtm

@bsyrowik bsyrowik force-pushed the users/bsyrowik/rocwmma_therock branch from 9073684 to f74f6fb Compare October 31, 2025 17:38
@bsyrowik bsyrowik requested a review from a team October 31, 2025 17:44
bsyrowik and others added 2 commits October 31, 2025 11:45
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@bsyrowik bsyrowik force-pushed the users/bsyrowik/rocwmma_therock branch from f74f6fb to 55ca59e Compare October 31, 2025 18:45
@bsyrowik
Copy link
Copy Markdown
Contributor Author

bsyrowik commented Nov 6, 2025

/AzurePipelines run rocm-ci-caller

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@bsyrowik bsyrowik merged commit 8f54577 into develop Nov 6, 2025
11 of 12 checks passed
@bsyrowik bsyrowik deleted the users/bsyrowik/rocwmma_therock branch November 6, 2025 22:14
assistant-librarian Bot pushed a commit to ROCm/rocWMMA that referenced this pull request Nov 7, 2025
[rocWMMA] CMake changes for integration into TheRock

## Motivation

These changes are required to integrate rocWMMA into TheRock. This PR
subsumes the patches from my PR for TheRock here:
ROCm/TheRock#1938

## Technical Details

Mostly changes to testing and CMake configuration.
Notably:
 - Update googletest dependency.
 - Create new regression and smoke test ctest files.
 - Suggest using Ninja.
 - Export the project.

## Test Plan

TheRock CI:
https://github.com/ROCm/TheRock/actions/runs/18804601794

An equivalent PR from ROCm/rocWMMA passed all checks as well:
https://github.com/ROCm/rocWMMA/pull/601/checks

## Test Result

Tests passed

## Submission Checklist

- [x] Look over the contributing guidelines at
https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests.
qiangpan2 pushed a commit to qiangpan2/rocm-libraries that referenced this pull request May 29, 2026
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