Thrust v20.9 Release Notes
Release Date: 2020-09-16 // over 2 years ago-
No data yet ๐
You can check the official repo
Previous changes from v1.9.10
-
Summary
๐ Thrust 1.9.10 is the release accompanying the NVIDIA HPC SDK 20.5. It adds CMake support for compilation with NVC++ and a number of minor bug fixes for NVC++. It also adds CMake
find_package
support.๐ New Features
- ๐ฆ #1130: CMake
find_package
support. This is significant because there is a legacyFindThrust.cmake
script authored by a third party in widespread use in the community which has a bug in how it parses Thrust version numbers which will cause it to incorrectly parse 1.9.10. This script only handles the first digit of each part of the Thrust version number correctly: for example, Thrust 17.17.17 would be interpreted as Thrust 1.1.1701717. You can find directions for using the new CMakefind_package
support and migrating away from the legacyFindThrust.cmake
here - #1129: Added
thrust::detail::single_device_tls_caching_allocator
, a convenient way to get an MR caching allocator for device memory, which is used by NVC++.
Other Enhancements
- ๐จ #1129: Refactored RDC handling in CMake to be a global option and not create two targets for each example and test.
๐ Bug Fixes
- #1129: Fix the legacy
thrust::return_temporary_buffer
API to support passing a size. This was necessary to enable usage of Thrust caching MR allocators with synchronous Thrust algorithms. This change has allowed NVC++โs C++17 Parallel Algorithms implementation to switch to use Thrust caching MR allocators for device temporary storage, which gives a 2x speedup on large multi-GPU systems such as V100 and A100 DGX wherecudaMalloc
is very slow. - #1128: Respect
CUDA_API_PER_THREAD_DEFAULT_STREAM
. Thanks to Rong Ou for this contribution. - ๐ #1131: Fix the one-policy overload of
thrust::async::copy
to not copy the policy, resolving use-afer-move issues. - #1145: When cleaning up type names in
unittest::base_class_name
, only callstd::string::replace
if we found the substring we are looking to replace. - #1139: Don't use
cxx::__demangle
in NVC++. - #1102: Don't use
thrust::detail::normal_distribution_nvcc
for Feta because it useserfcinv
, a non-standard function that Feta doesn't have.
- ๐ฆ #1130: CMake