Skip to content

Commit

Permalink
Backport PR #2332 and #2341 (#2368)
Browse files Browse the repository at this point in the history
* Update CCCL version to 2.6.1

* Do not hardcode Thrust's host system to cpp. (#2332)

* Fix hardcoding __THRUST_HOST_SYSTEM_NAMESPACE to cpp (#2341)

This change was erroneously introduced in 91b78d8

Fixes: #2098

---------

Co-authored-by: Allison Piper <[email protected]>
Co-authored-by: Bernhard Manfred Gruber <[email protected]>
  • Loading branch information
3 people authored Sep 10, 2024
1 parent c67b1c3 commit 9019a6a
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion cub/cub/cmake/cub-config-version.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ include("${CMAKE_CURRENT_LIST_DIR}/cub-header-search.cmake")

set(CUB_VERSION_MAJOR 2)
set(CUB_VERSION_MINOR 6)
set(CUB_VERSION_PATCH 0)
set(CUB_VERSION_PATCH 1)
set(CUB_VERSION_TWEAK 0)
set(CUB_VERSION "${CUB_VERSION_MAJOR}.${CUB_VERSION_MINOR}.${CUB_VERSION_PATCH}.${CUB_VERSION_TWEAK}")

Expand Down
2 changes: 1 addition & 1 deletion cub/cub/version.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
* <tt>CUB_VERSION / 100 % 1000</tt> is the minor version.
* <tt>CUB_VERSION / 100000</tt> is the major version.
*/
#define CUB_VERSION 200600 // macro expansion with ## requires this to be a single value
#define CUB_VERSION 200601 // macro expansion with ## requires this to be a single value

/*! \def CUB_MAJOR_VERSION
* \brief The preprocessor macro \p CUB_MAJOR_VERSION encodes the
Expand Down
2 changes: 1 addition & 1 deletion cudax/lib/cmake/cudax/cudax-config-version.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
set(cudax_VERSION_MAJOR 2)
set(cudax_VERSION_MINOR 6)
set(cudax_VERSION_PATCH 0)
set(cudax_VERSION_PATCH 1)
set(cudax_VERSION_TWEAK 0)

set(cudax_VERSION "${cudax_VERSION_MAJOR}.${cudax_VERSION_MINOR}.${cudax_VERSION_PATCH}.${cudax_VERSION_TWEAK}")
Expand Down
2 changes: 1 addition & 1 deletion lib/cmake/cccl/cccl-config-version.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
set(CCCL_VERSION_MAJOR 2)
set(CCCL_VERSION_MINOR 6)
set(CCCL_VERSION_PATCH 0)
set(CCCL_VERSION_PATCH 1)
set(CCCL_VERSION_TWEAK 0)

set(CCCL_VERSION "${CCCL_VERSION_MAJOR}.${CCCL_VERSION_MINOR}.${CCCL_VERSION_PATCH}.${CCCL_VERSION_TWEAK}")
Expand Down
2 changes: 1 addition & 1 deletion libcudacxx/include/cuda/std/__cccl/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#ifndef __CCCL_VERSION_H
#define __CCCL_VERSION_H

#define CCCL_VERSION 2006000
#define CCCL_VERSION 2006001
#define CCCL_MAJOR_VERSION (CCCL_VERSION / 1000000)
#define CCCL_MINOR_VERSION (((CCCL_VERSION / 1000) % 1000))
#define CCCL_PATCH_VERSION (CCCL_VERSION % 1000)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ include("${CMAKE_CURRENT_LIST_DIR}/libcudacxx-header-search.cmake")

set(libcudacxx_VERSION_MAJOR 2)
set(libcudacxx_VERSION_MINOR 6)
set(libcudacxx_VERSION_PATCH 0)
set(libcudacxx_VERSION_PATCH 1)
set(libcudacxx_VERSION_TWEAK 0)

set(libcudacxx_VERSION
Expand Down
2 changes: 1 addition & 1 deletion thrust/thrust/cmake/thrust-config-version.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ include("${CMAKE_CURRENT_LIST_DIR}/thrust-header-search.cmake")

set(THRUST_VERSION_MAJOR 2)
set(THRUST_VERSION_MINOR 6)
set(THRUST_VERSION_PATCH 0) # Thrust: "subminor" CMake: "patch"
set(THRUST_VERSION_PATCH 1) # Thrust: "subminor" CMake: "patch"
set(THRUST_VERSION_TWEAK 0)
set(THRUST_VERSION "${THRUST_VERSION_MAJOR}.${THRUST_VERSION_MINOR}.${THRUST_VERSION_PATCH}.${THRUST_VERSION_TWEAK}")

Expand Down
2 changes: 1 addition & 1 deletion thrust/thrust/execution_policy.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ THRUST_NAMESPACE_BEGIN
namespace detail
{

using host_t = thrust::system::cpp::detail::par_t;
using host_t = thrust::system::__THRUST_HOST_SYSTEM_NAMESPACE::detail::par_t;

using device_t = thrust::system::__THRUST_DEVICE_SYSTEM_NAMESPACE::detail::par_t;

Expand Down
2 changes: 1 addition & 1 deletion thrust/thrust/mr/host_memory_resource.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@

THRUST_NAMESPACE_BEGIN

using host_memory_resource = thrust::system::cpp::memory_resource;
using host_memory_resource = thrust::system::__THRUST_HOST_SYSTEM_NAMESPACE::memory_resource;

THRUST_NAMESPACE_END
2 changes: 1 addition & 1 deletion thrust/thrust/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
* <tt>THRUST_VERSION / 100 % 1000</tt> is the minor version.
* <tt>THRUST_VERSION / 100000</tt> is the major version.
*/
#define THRUST_VERSION 200600 // macro expansion with ## requires this to be a single value
#define THRUST_VERSION 200601 // macro expansion with ## requires this to be a single value

/*! \def THRUST_MAJOR_VERSION
* \brief The preprocessor macro \p THRUST_MAJOR_VERSION encodes the
Expand Down

0 comments on commit 9019a6a

Please sign in to comment.