Thrust v20.9 Release NotesRelease Date: 2020-09-16 // over 2 years ago
No data yet 😐
You can check the official repo
Previous changes from v1.9.10
🚀 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
🆕 New Features
- 📦 #1130: CMake
find_packagesupport. This is significant because there is a legacy
FindThrust.cmakescript 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 CMake
find_packagesupport and migrating away from the legacy
- #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++.
- 🔨 #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_bufferAPI 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 where
cudaMallocis 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::copyto not copy the policy, resolving use-afer-move issues.
- #1145: When cleaning up type names in
unittest::base_class_name, only call
std::string::replaceif we found the substring we are looking to replace.
- #1139: Don't use
- #1102: Don't use
thrust::detail::normal_distribution_nvccfor Feta because it uses
erfcinv, a non-standard function that Feta doesn't have.
- 📦 #1130: CMake