This repository has been archived by the owner on Mar 21, 2024. It is now read-only.
CUB 1.14.0 (NVIDIA HPC SDK 21.9) #362
alliepiper
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
CUB 1.14.0 is a major release accompanying the NVIDIA HPC SDK 21.9.
This release provides the often-requested merge sort algorithm, ported from the
thrust::sort
implementation. Merge sort provides more flexibility than the existing radix sort by supporting arbitrary data types and comparators, though radix sorting is still faster for supported inputs. This functionality is provided through the newcub::DeviceMergeSort
andcub::BlockMergeSort
algorithms.The namespace wrapping mechanism has been overhauled for 1.14. The existing macros (
CUB_NS_PREFIX
/CUB_NS_POSTFIX
) can now be replaced by a single macro,CUB_WRAPPED_NAMESPACE
, which is set to the name of the desired wrapped namespace. Defining a similarTHRUST_CUB_WRAPPED_NAMESPACE
macro will embed boththrust::
andcub::
symbols in the same external namespace. The prefix/postfix macros are still supported, but now require a newCUB_NS_QUALIFIER
macro to be defined, which provides the fully qualified CUB namespace (e.g.::foo::cub
). Seecub/util_namespace.cuh
for details.Breaking Changes
CUB_NS_[PRE|POST]FIX
macros are set,CUB_NS_QUALIFIER
must also be defined to the fully qualified CUB namespace (e.g.#define CUB_NS_QUALIFIER ::foo::cub
). Note that this is handled automatically when using the new[THRUST_]CUB_WRAPPED_NAMESPACE
mechanism.New Features
cub::BlockMergeSort
andcub::DeviceMergeSort
are now available.Bug Fixes
cub::DeviceSpmv
and added basic tests for this algorithm. Thanks to James Wyles and Seunghwa Kang for their contributions.cub::CachingDeviceAllocator
. Thanks to Felix Kallenborn for this contribution.cub::DeviceHistogram
documentation.Enhancements
This discussion was created from the release CUB 1.14.0 (NVIDIA HPC SDK 21.9).
Beta Was this translation helpful? Give feedback.
All reactions