Skip to content

[rocPRIM][rocThrust] Mergeback from release staging 7.0#449

Merged
umfranzw merged 3 commits intoROCm:developfrom
umfranzw:mergeback-from-release-staging-7.0
Jul 1, 2025
Merged

[rocPRIM][rocThrust] Mergeback from release staging 7.0#449
umfranzw merged 3 commits intoROCm:developfrom
umfranzw:mergeback-from-release-staging-7.0

Conversation

@umfranzw
Copy link
Contributor

@umfranzw umfranzw commented Jun 30, 2025

umfranzw added 2 commits June 30, 2025 13:39
Avoid GTest 128-bit value output on windows

On Windows, GTest lacks the ability to print 128 bit values. This can
cause linker errors if you call macros like ASSERT_EQ and pass in
128-bit values.

We already avoid ASSERT_EQ with 128-bit types in a few functions in
test/rocprim/test_utils_assertions.hpp. This change refactors the
code that does the detection, and then adds the avoidant behaviour
to a few more functions.

As a part of this refactoring, the test_utils::is_int128/is_uint128
declarations are moved from test_utils_data_generation.hpp into 
test_utils_assertions.hpp. They're not used anywhere other than in
the latter file.
… no tail (ROCm#211)

thrust::tuple is implemented using a cons object. The cons object has
two implementations: one for tuples with both a head and tail, and one
for tuples with only a head (i.e. the tail is null).

Some thrust code (eg. zip iterator) can end up calling the copy
constructor (or assignment operator overload) for the head/tail version
and pass in a head/null version as the source to copy from.

Since there are currently no copy constructor or assignment operator
overload that accept head/null, the default ones get called. These fail
because they assume that a tail data member exists.

This change adds specializations for the head/null version of cons so
that we don't call the default ones.
@umfranzw umfranzw changed the title Mergeback from release staging 7.0 [rocPRIM][rocThrust] Mergeback from release staging 7.0 Jun 30, 2025
Copy link
Contributor

@stanleytsang-amd stanleytsang-amd left a comment

Choose a reason for hiding this comment

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

lgtm pending ci checks

We use the std::__decay built-in in place of std::decay to speed up
compilation time. However, this doesn't always work on Windows. This
change adds a check to avoid it there.
Copy link
Contributor

@NguyenNhuDi NguyenNhuDi left a comment

Choose a reason for hiding this comment

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

lgtm

@umfranzw umfranzw merged commit 7574526 into ROCm:develop Jul 1, 2025
10 of 11 checks passed
assistant-librarian bot pushed a commit to ROCm/rocPRIM that referenced this pull request Jul 1, 2025
[rocPRIM][rocThrust] Mergeback from release staging 7.0
 (#449)

This change merges back the following PRs from release-staging:

- #229
- #211
- #236
assistant-librarian bot pushed a commit to ROCm/rocThrust that referenced this pull request Jul 1, 2025
[rocPRIM][rocThrust] Mergeback from release staging 7.0
 (#449)

This change merges back the following PRs from release-staging:

- #229
- #211
- #236
stanleytsang-amd pushed a commit that referenced this pull request Jul 4, 2025
Reverse UseGTestAssert condition on Windows
    
Recently, we added a check to see if GTest's ASSERT_EQ assertion
should be used within the assert_eq function. The code in the if/else
blocks that act on the results of this check was inverted (the "else"
code block should be the "if" block, and vice-versa).
This change fixes the issue by swapping the code blocks.

This change should be merged after #449.
umfranzw added a commit to umfranzw/rocm-libraries that referenced this pull request Jul 4, 2025
Reverse UseGTestAssert condition on Windows
    
Recently, we added a check to see if GTest's ASSERT_EQ assertion
should be used within the assert_eq function. The code in the if/else
blocks that act on the results of this check was inverted (the "else"
code block should be the "if" block, and vice-versa).
This change fixes the issue by swapping the code blocks.

This change should be merged after ROCm#449.
stanleytsang-amd pushed a commit that referenced this pull request Jul 8, 2025
Reverse UseGTestAssert condition on Windows
    
Recently, we added a check to see if GTest's ASSERT_EQ assertion should
be used within the assert_eq function. The code in the if/else blocks
that act on the results of this check was inverted (the "else" code
block should be the "if" block, and vice-versa). This change fixes the
issue by swapping the code blocks.

This change should be merged after #449.
ammallya pushed a commit that referenced this pull request Jul 14, 2025
ammallya pushed a commit that referenced this pull request Jul 14, 2025
JeniferC99 pushed a commit that referenced this pull request Jul 17, 2025
This change merges back the following PRs from release-staging:

- #229
- #211
- #236
JeniferC99 pushed a commit that referenced this pull request Jul 17, 2025
Reverse UseGTestAssert condition on Windows
    
Recently, we added a check to see if GTest's ASSERT_EQ assertion
should be used within the assert_eq function. The code in the if/else
blocks that act on the results of this check was inverted (the "else"
code block should be the "if" block, and vice-versa).
This change fixes the issue by swapping the code blocks.

This change should be merged after #449.
eidenyoshida pushed a commit that referenced this pull request Jul 25, 2025
Reverse win gtest condition

Reverse UseGTestAssert condition on Windows

Recently, we added a check to see if GTest's ASSERT_EQ assertion
should be used within the assert_eq function. The code in the if/else
blocks that act on the results of this check was inverted (the "else"
code block should be the "if" block, and vice-versa).
This change fixes the issue by swapping the code blocks.

This change should be merged after #449.
stanleytsang-amd pushed a commit that referenced this pull request Oct 24, 2025
Reverse UseGTestAssert condition on Windows
    
Recently, we added a check to see if GTest's ASSERT_EQ assertion
should be used within the assert_eq function. The code in the if/else
blocks that act on the results of this check was inverted (the "else"
code block should be the "if" block, and vice-versa).
This change fixes the issue by swapping the code blocks.

This change should be merged after #449.
bsyrowik pushed a commit that referenced this pull request Oct 27, 2025
…aphy-43.0.1

Bump cryptography from 42.0.8 to 43.0.1 in /docs/sphinx

[ROCm/rocWMMA commit: a5038f4]
ammallya pushed a commit that referenced this pull request Oct 27, 2025
…aphy-43.0.1

Bump cryptography from 42.0.8 to 43.0.1 in /docs/sphinx
ammallya pushed a commit that referenced this pull request Oct 28, 2025
…aphy-43.0.1

Bump cryptography from 42.0.8 to 43.0.1 in /docs/sphinx

[ROCm/rocwmma commit: a5038f4]
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