diff --git a/projects/hipcub/CHANGELOG.md b/projects/hipcub/CHANGELOG.md index e9a23abe36d..a388d28f69d 100644 --- a/projects/hipcub/CHANGELOG.md +++ b/projects/hipcub/CHANGELOG.md @@ -40,6 +40,7 @@ Full documentation for hipCUB is available at [https://rocm.docs.amd.com/project ### Resolved issues * Fixed an issue where `Sort(keys, compare_op, valid_items, oob_default)` in `block_merge_sort.hpp` would not fill in elements that are out of range (items after `valid_items`) with `oob_default`. +* Fixed an issue where `ScatterToStripedFlagged` in `block_exhange.hpp` was calling the wrong function. ### Known issues diff --git a/projects/hipcub/hipcub/include/hipcub/backend/rocprim/block/block_exchange.hpp b/projects/hipcub/hipcub/include/hipcub/backend/rocprim/block/block_exchange.hpp index 4f90ac8ea1f..0053ae4a915 100644 --- a/projects/hipcub/hipcub/include/hipcub/backend/rocprim/block/block_exchange.hpp +++ b/projects/hipcub/hipcub/include/hipcub/backend/rocprim/block/block_exchange.hpp @@ -210,7 +210,7 @@ class BlockExchange OffsetT (&ranks)[ITEMS_PER_THREAD], ///< [in] Corresponding scatter ranks ValidFlag (&is_valid)[ITEMS_PER_THREAD]) ///< [in] Corresponding flag denoting item validity { - ScatterToStriped(items, items, ranks, is_valid); + ScatterToStripedFlagged(items, items, ranks, is_valid); } #endif // DOXYGEN_SHOULD_SKIP_THIS