All Versions
17
Latest Version
Avg Release Cycle
84 days
Latest Release
402 days ago

Changelog History
Page 1

  • v20.5

    May 16, 2020
  • v20.3-cuda

    April 06, 2020
  • v11.0

    April 24, 2020
  • v11.0.ea

    February 29, 2020
  • v1.9.10 Changes

    May 19, 2020

    Summary

    ๐Ÿš€ Thrust 1.9.10 is the release accompanying the NVIDIA HPC SDK 20.5 release. It adds CMake find_package support. C++03, C++11, GCC < 5, Clang < 6, and MSVC < 2017 are now deprecated. Starting with the upcoming 1.10.0 release, C++03 support will be dropped entirely.

    ๐Ÿ’ฅ Breaking Changes

    • Thrust now checks that it is compatible with the version of CUB found in your include path, generating an error if it is not. If you are using your own version of CUB, it may be too old. It is recommended to simply delete your own version of CUB and use the version of CUB that comes with Thrust.
    • C++03 and C++11 are deprecated. Using these dialects will generate a compile-time warning. These warnings can be suppressed by defining CUB_IGNORE_DEPRECATED_CPP_DIALECT (to suppress C++03 and C++11 deprecation warnings) or CUB_IGNORE_DEPRECATED_CPP11 (to suppress C++11 deprecation warnings). Suppression is only a short term solution. We will be dropping support for C++03 in the 1.10.0 release and C++11 in the near future.
    • GCC < 5, Clang < 6, and MSVC < 2017 are deprecated. Using these compilers will generate a compile-time warning. These warnings can be suppressed by defining CUB_IGNORE_DEPRECATED_COMPILER. Suppression is only a short term solution. We will be dropping support for these compilers in the near future.

    ๐Ÿ†• New Features

    • ๐Ÿ“ฆ CMake find_package support. Just point CMake at the cmake folder in your CUB include directory (ex: cmake -DCUB_DIR=/usr/local/cuda/include/cub/cmake/ .) and then you can add CUB to your CMake project with find_package(CUB REQUIRED CONFIG).
  • v1.9.9 Changes

    May 19, 2020

    CUB 1.9.9 (CUDA 11.0)

    Summary

    ๐Ÿš€ CUB 1.9.9 is the release accompanying the CUDA Toolkit 11.0 release. It introduces CMake support, version macros, platform detection machinery, and support for NVC++, which uses Thrust (and thus CUB) to implement GPU-accelerated C++17 Parallel Algorithms. Additionally, the scan dispatch layer was refactored and modernized. C++03, C++11, GCC < 5, Clang < 6, and MSVC < 2017 are now deprecated. Starting with the upcoming 1.10.0 release, C++03 support will be dropped entirely.

    ๐Ÿ’ฅ Breaking Changes

    • Thrust now checks that it is compatible with the version of CUB found in your include path, generating an error if it is not. If you are using your own version of CUB, it may be too old. It is recommended to simply delete your own version of CUB and use the version of CUB that comes with Thrust.
    • C++03 and C++11 are deprecated. Using these dialects will generate a compile-time warning. These warnings can be suppressed by defining CUB_IGNORE_DEPRECATED_CPP_DIALECT (to suppress C++03 and C++11 deprecation warnings) or CUB_IGNORE_DEPRECATED_CPP11 (to suppress C++11 deprecation warnings). Suppression is only a short term solution. We will be dropping support for C++03 in the 1.10.0 release and C++11 in the near future.
    • GCC < 5, Clang < 6, and MSVC < 2017 are deprecated. Using these compilers will generate a compile-time warning. These warnings can be suppressed by defining CUB_IGNORE_DEPRECATED_COMPILER. Suppression is only a short term solution. We will be dropping support for these compilers in the near future.

    ๐Ÿ†• New Features

    • ๐Ÿ‘ CMake support. Thanks to Francis Lemaire for this contribution.
    • โ™ป๏ธ Refactorized and modernized scan dispatch layer. Thanks to Francis Lemaire for this contribution.
    • Policy hooks for device-wide reduce, scan, and radix sort facilities to simplify tuning and allow users to provide custom policies. Thanks to Francis Lemaire for this contribution.
    • ๐Ÿ”– <cub/version.cuh>: CUB_VERSION, CUB_VERSION_MAJOR, CUB_VERISON_MINOR, CUB_VERSION_SUBMINOR, and CUB_PATCH_NUMBER.
    • Platform detection machinery:
      • <cub/util_cpp_dialect.cuh>: Detects the C++ standard dialect.
      • <cub/util_compiler.cuh>: host and device compiler detection.
      • <cub/util_deprecated.cuh>: CUB_DEPRECATED.
      • <cub/config.cuh>: Includes<cub/util_arch.cuh>,<cub/util_compiler.cuh>,<cub/util_cpp_dialect.cuh>,<cub/util_deprecated.cuh>,<cub/util_macro.cuh>,<cub/util_namespace.cuh>`
    • cub::DeviceCount and cub::DeviceCountUncached, caching abstractions for cudaGetDeviceCount.

    Other Enhancements

    • Lazily initialize the per-device CUDAattribute caches, because CUDA context creation is expensive and adds up with large CUDA binaries on machines with many GPUs. Thanks to the NVIDIA PyTorch team for bringing this to our attention.
    • ๐Ÿ‘‰ Make cub::SwitchDevice avoid setting/resetting the device if the current device is the same as the target device.

    ๐Ÿ› Bug Fixes

    • โž• Add explicit failure parameter to CAS in the CUB attribute cache to workaround a GCC 4.8 bug.
    • โšก๏ธ Revert a change in reductions that changed the signedness of the lane_id variable to suppress a warning, as this introduces a bug in optimized device code.
    • ๐Ÿ›  Fix initialization in cub::ExclusiveSum. Thanks to Conor Hoekstra for this contribution.
    • ๐Ÿ›  Fix initialization of the std::array in the CUB attribute cache.
    • ๐Ÿ›  Fix -Wsign-compare warnings. Thanks to Elias Stehle for this contribution.
    • Fix test_block_reduce.cu to build without parameters. Thanks to Francis Lemaire for this contribution.
    • Add missing includes to grid_even_share.cuh. Thanks to Francis Lemaire for this contribution.
    • โž• Add missing includes to thread_search.cuh. Thanks to Francis Lemaire for this contribution.
    • โž• Add missing includes to cub.cuh. Thanks to Felix Kallenborn for this contribution.
  • v1.9.8 Changes

    May 19, 2020

    Summary

    ๐Ÿš€ CUB 1.9.8 is the first release of CUB to be officially supported and included in the CUDA Toolkit.
    ๐ŸŽ When compiling CUB in C++11 mode, CUB now caches calls to CUDA attribute query APIs, which improves performance of these queries by 20x to 50x when they are called concurrently by multiple host threads.

    โœจ Enhancements

    • (C++11 or later) Cache calls to cudaFuncGetAttributes and cudaDeviceGetAttribute within cub::PtxVersion and cub::SmVersion. These CUDA APIs acquire locks to CUDA driver/runtime mutex and perform poorly under contention; with the caching, they are 20 to 50x faster when called concurrently. Thanks to Bilge Acun for bringing this issue to our attention.
    • DispatchReduce now takes an OutputT template parameter so that users can specify the intermediate type explicitly.
    • ๐ŸŽ Radix sort tuning policies updates to fix performance issues for element types smaller than 4 bytes.

    ๐Ÿ› Bug Fixes

    • ๐Ÿ’… Change initialization style from copy initialization to direct initialization (which is more permissive) in AgentReduce to allow a wider range of types to be used with it.
    • ๐Ÿ›  Fix bad signed/unsigned comparisons in WarpReduce.
    • ๐Ÿ›  Fix computation of valid lanes in warp-level reduction primitive to correctly handle the case where there are 0 input items per warp.
  • v1.9.8-1 Changes

    May 19, 2020

    Summary

    ๐Ÿš€ CUB 1.9.8-1 is a variant of 1.9.8 accompanying the NVIDIA HPC SDK 20.3 release. It contains modifications necessary to serve as the implementation of NVC++'s GPU-accelerated C++17 Parallel Algorithms.

  • v1.8.0 Changes

    February 16, 2018

    2018-02-16

  • v1.7.5 Changes

    February 09, 2018

    2018-02-08