Skip to content

Conversation

@j-stephan
Copy link
Contributor

@j-stephan j-stephan commented Dec 18, 2025

Motivation

Adds more meaningful examples to illustrate the HIP documentation's lane-masks bit-shift section. This PR requires an update to CUDA 12.9.1.

Technical Details

Adds example code, integration into CMake and Makefile build system, .gitignore, README.md and Visual Studio files. Updates the top-level files where necessary.

Test Plan

Code tested locally on a RDNA GPU.

Test Result

Works as expected.

Added/Updated documentation?

  • Yes
  • No, does not apply to this PR.

Included Visual Studio files?

  • Yes
  • No, does not apply to this PR.

Submission Checklist

@j-stephan j-stephan requested a review from neon60 December 18, 2025 13:39
@j-stephan j-stephan self-assigned this Dec 18, 2025
@j-stephan j-stephan requested a review from randyh62 December 19, 2025 15:27
@j-stephan
Copy link
Contributor Author

@randyh62 @neon60 Apart from CUDA CI stuff, this is complete and ready for review.

@j-stephan j-stephan force-pushed the lane-masks-bit-shift branch from 61ab9ee to d599eed Compare January 27, 2026 13:26
@j-stephan
Copy link
Contributor Author

The CUDA issue observed here is fixed by #394 and its upgrade to CUDA 12.8.

Signed-off-by: Jan Stephan <jan.stephan@amd.com>
Signed-off-by: Jan Stephan <jan.stephan@amd.com>
Signed-off-by: Jan Stephan <jan.stephan@amd.com>
Signed-off-by: Jan Stephan <jan.stephan@amd.com>
Signed-off-by: Jan Stephan <jan.stephan@amd.com>
Signed-off-by: Jan Stephan <jan.stephan@amd.com>
Signed-off-by: Jan Stephan <jan.stephan@amd.com>
@j-stephan j-stephan force-pushed the lane-masks-bit-shift branch from d599eed to 5c926a9 Compare February 2, 2026 16:49
Signed-off-by: Jan Stephan <jan.stephan@amd.com>
@j-stephan j-stephan changed the title Add lane masks bit-shift example Add lane masks bit-shift example and update to CUDA 12.9.1 Feb 2, 2026
@j-stephan j-stephan marked this pull request as ready for review February 2, 2026 17:55
@j-stephan j-stephan requested review from a team as code owners February 2, 2026 17:55
@zichguan-amd
Copy link
Collaborator

HIP SDK 7.1.1 is out, I wonder if it's a compatibility issue with HIP SDK 6.4 causing the CI to fail

@j-stephan
Copy link
Contributor Author

Yes, looks like CUB removed that header file with CUDA 12.8. Time to migrate to a newer HIP SDK :-)

Signed-off-by: Jan Stephan <jan.stephan@amd.com>
Signed-off-by: Jan Stephan <jan.stephan@amd.com>
@j-stephan j-stephan changed the title Add lane masks bit-shift example and update to CUDA 12.9.1 Add lane masks bit-shift example, update to CUDA 12.9.1 and HIP SDK 7.1 Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants