This repository was 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
Uh oh!
There was an error while loading. Please reload this page.
-
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::sortimplementation. 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::DeviceMergeSortandcub::BlockMergeSortalgorithms.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_NAMESPACEmacro will embed boththrust::andcub::symbols in the same external namespace. The prefix/postfix macros are still supported, but now require a newCUB_NS_QUALIFIERmacro to be defined, which provides the fully qualified CUB namespace (e.g.::foo::cub). Seecub/util_namespace.cuhfor details.Breaking Changes
CUB_NS_[PRE|POST]FIXmacros are set,CUB_NS_QUALIFIERmust 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_NAMESPACEmechanism.New Features
cub::BlockMergeSortandcub::DeviceMergeSortare now available.Bug Fixes
cub::DeviceSpmvand 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::DeviceHistogramdocumentation.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