This repository has been archived by the owner on Mar 21, 2024. It is now read-only.
Thrust 1.13.1 (CUDA Toolkit 11.5)
Thrust 1.13.1 is a minor release accompanying the CUDA Toolkit 11.5.
This release provides a new hook for embedding the thrust::
namespace inside a custom namespace. This is intended to work around various issues related to linking multiple shared libraries that use Thrust. The existing CUB_NS_PREFIX
and CUB_NS_POSTFIX
macros already provided this capability for CUB; 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 #1401.
New Features
- #1464: Add
THRUST_CUB_WRAPPED_NAMESPACE
hooks.
Bug Fixes
- #1488: Fix path to installed CUB in Thrust's CMake config files.