-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
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
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,13 @@ | ||
{ | ||
"packages" : { | ||
"Thrust" : { | ||
"patches" : [ | ||
{ | ||
"file" : "${current_json_dir}/thrust_transform_iter_with_reduce_by_key.diff", | ||
"issue" : "Support transform_output_iterator as output of reduce by key [https://github.com/NVIDIA/thrust/pull/1805]", | ||
"fixed_in" : "2.1" | ||
} | ||
] | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
cpp/cmake/thirdparty/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 | ||
* |