Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Commit cc292c3

Browse files
committed
Explain in the Thrust/CUB version mismatch diagnostic that CUB is now a part of
the CUDA toolkit.
1 parent b0012f7 commit cc292c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

thrust/system/cuda/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,6 @@
7575
#include <thrust/version.h>
7676
#include <cub/util_namespace.cuh> // This includes <cub/version.cuh> in newer releases.
7777
#if THRUST_VERSION != CUB_VERSION
78-
#error The version of CUB in your include path is not compatible with this release of Thrust. Define THRUST_IGNORE_CUB_VERSION_CHECK to ignore this.
78+
#error The version of CUB in your include path is not compatible with this release of Thrust. CUB is now included in the CUDA Toolkit, so you no longer need to use your own checkout of CUB. Define THRUST_IGNORE_CUB_VERSION_CHECK to ignore this.
7979
#endif
8080
#endif

0 commit comments

Comments
 (0)