Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

CUB 1.13.1 (CUDA Toolkit 11.5)

Compare
Choose a tag to compare
@alliepiper alliepiper released this 25 Oct 19:01
· 613 commits to main since this release

CUB 1.13.1 is a minor release accompanying the CUDA Toolkit 11.5.

This release provides a new hook for embedding the cub:: namespace inside
a custom namespace. This is intended to work around various issues related to
linking multiple shared libraries that use CUB. The existing CUB_NS_PREFIX and
CUB_NS_POSTFIX macros already provided this capability; this update provides a
simpler mechanism that is extended to and integrated with Thrust. Simply define
THRUST_CUB_WRAPPED_NAMESPACE to a namespace name, and both thrust:: and
cub:: will be placed inside the new namespace. Using different wrapped
namespaces for each shared library will prevent issues like those reported in
NVIDIA/thrust#1401.

New Features

  • #326: Add THRUST_CUB_WRAPPED_NAMESPACE hooks.