-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add thrust output iterator fix to rapids-cmake thrust patches (#291)
Backports NVIDIA/thrust#1805 to thrust 1.17.2 since it looks to be slated for thrust 2.1 . Adding the patch to ensure that all RAPIDS projects won't be hit by this issue Authors: - Robert Maynard (https://github.com/robertmaynard) Approvers: - Vyas Ramasubramani (https://github.com/vyasr) URL: #291
- Loading branch information
1 parent
b596a99
commit c9a53df
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
rapids-cmake/cpm/patches/Thrust/transform_iter_with_reduce_by_key.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
diff --git a/thrust/iterator/transform_input_output_iterator.h b/thrust/iterator/transform_input_output_iterator.h | ||
index f512a36..a5f725d 100644 | ||
--- a/thrust/iterator/transform_input_output_iterator.h | ||
+++ b/thrust/iterator/transform_input_output_iterator.h | ||
@@ -102,6 +102,8 @@ template <typename InputFunction, typename OutputFunction, typename Iterator> | ||
/*! \endcond | ||
*/ | ||
|
||
+ transform_input_output_iterator() = default; | ||
+ | ||
/*! This constructor takes as argument a \c Iterator an \c InputFunction and an | ||
* \c OutputFunction and copies them to a new \p transform_input_output_iterator | ||
* | ||
diff --git a/thrust/iterator/transform_output_iterator.h b/thrust/iterator/transform_output_iterator.h | ||
index 66fb46a..4a68cb5 100644 | ||
--- a/thrust/iterator/transform_output_iterator.h | ||
+++ b/thrust/iterator/transform_output_iterator.h | ||
@@ -104,6 +104,8 @@ template <typename UnaryFunction, typename OutputIterator> | ||
/*! \endcond | ||
*/ | ||
|
||
+ transform_output_iterator() = default; | ||
+ | ||
/*! This constructor takes as argument an \c OutputIterator and an \c | ||
* UnaryFunction and copies them to a new \p transform_output_iterator | ||
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters