|
| 1 | +# Thrust 1.14.0 (NVIDIA HPC SDK 21.9) |
| 2 | + |
| 3 | +## Summary |
| 4 | + |
| 5 | +Thrust 1.14.0 is a major release accompanying the NVIDIA HPC SDK 21.9. |
| 6 | + |
| 7 | +This release adds the ability to wrap the `thrust::` namespace in an external |
| 8 | +namespace, providing a workaround for a variety of shared library linking |
| 9 | +issues. Thrust also learned to detect when CUB's symbols are in a wrapped |
| 10 | +namespace and properly import them. To enable this feature, use |
| 11 | +`#define THRUST_CUB_WRAPPED_NAMESPACE foo` to wrap both Thrust and CUB in the |
| 12 | +`foo::` namespace. See `thrust/detail/config/namespace.h` for details and more |
| 13 | +namespace options. |
| 14 | + |
| 15 | +Several bugfixes are also included: The `tuple_size` and `tuple_element` helpers |
| 16 | +now support cv-qualified types. `scan_by_key` uses less memory. |
| 17 | +`thrust::iterator_traits` is better integrated with `std::iterator_traits`. |
| 18 | +See below for more details and references. |
| 19 | + |
| 20 | +## New Features |
| 21 | + |
| 22 | +- NVIDIA/thrust#1464: Add preprocessor hooks that allow `thrust::` to be wrapped |
| 23 | + in an external namespace, and support cases when CUB is wrapped in an external |
| 24 | + namespace. |
| 25 | + |
| 26 | +## Bug Fixes |
| 27 | + |
| 28 | +- NVIDIA/thrust#1457: Support cv-qualified types in `thrust::tuple_size` and |
| 29 | + `thrust::tuple_element`. Thanks to Jake Hemstad for this contribution. |
| 30 | +- NVIDIA/thrust#1471: Fixed excessive memory allocation in `scan_by_key`. Thanks |
| 31 | + to Lilo Huang for this contribution. |
| 32 | +- NVIDIA/thrust#1476: Removed dead code from the `expand` example. Thanks to |
| 33 | + Lilo Huang for this contribution. |
| 34 | +- NVIDIA/thrust#1488: Fixed the path to the installed CUB headers in the CMake |
| 35 | + `find_package` configuration files. |
| 36 | +- NVIDIA/thrust#1491: Fallback to `std::iterator_traits` when no |
| 37 | + `thrust::iterator_traits` specialization exists for an iterator type. Thanks |
| 38 | + to Divye Gala for this contribution. |
| 39 | + |
1 | 40 | # Thrust 1.13.1 (CUDA Toolkit 11.5) |
2 | 41 |
|
3 | 42 | Thrust 1.13.1 is a minor release accompanying the CUDA Toolkit 11.5. |
|
0 commit comments