This repository was archived by the owner on Mar 21, 2024. It is now read-only.
Thrust 1.9.2 (CUDA Toolkit 9.2)
Thrust 1.9.2 brings a variety of performance enhancements, bug fixes and test improvements. CUB 1.7.5 was integrated, enhancing the performance of thrust::sort on small data types and thrust::reduce. Changes were applied to complex to optimize memory access. Thrust now compiles with compiler warnings enabled and treated as errors. Additionally, the unit test suite and framework was enhanced to increase coverage.
Breaking Changes
- The
fallback_allocatorexample was removed, as it was buggy and difficult to support.
New Features
<thrust/detail/alignment.h>, utilities for memory alignment:thrust::aligned_reinterpret_cast.thrust::aligned_storage_size, which computes the amount of storage needed for an object of a particular size and alignment.thrust::alignment_of, a C++03 implementation of C++11'sstd::alignment_of.thrust::aligned_storage, a C++03 implementation of C++11'sstd::aligned_storage.thrust::max_align_t, a C++03 implementation of C++11'sstd::max_align_t.
Bug Fixes
- NVBug 200385527, NVBug 200385119, NVBug 200385113, NVBug 200349350, NVBug 2058778: Various compiler warning issues.
- NVBug 200355591:
thrust::reduceperformance issues. - NVBug 2053727: Fixed an ADL bug that caused user-supplied
allocateto be overlooked butdeallocateto be called with GCC <= 4.3. - NVBug 1777043: Fixed
thrust::complexto work withthrust::sequence.