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

Commit

Permalink
Merge pull request #1715 from mfbalin/zip_function-patch
Browse files Browse the repository at this point in the history
Missing macro wrapper for zip_function
  • Loading branch information
alliepiper authored Jun 29, 2022
2 parents 725cbb4 + 1855dfb commit 105934f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions thrust/zip_function.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ namespace zip_detail {
// Add workaround for decltype(auto) on C++11-only compilers:
#if THRUST_CPP_DIALECT >= 2014

__thrust_exec_check_disable__
template <typename Function, typename Tuple, std::size_t... Is>
__host__ __device__
decltype(auto) apply_impl(Function&& func, Tuple&& args, index_sequence<Is...>)
Expand All @@ -51,6 +52,7 @@ decltype(auto) apply(Function&& func, Tuple&& args)

#else // THRUST_CPP_DIALECT

__thrust_exec_check_disable__
template <typename Function, typename Tuple, std::size_t... Is>
__host__ __device__
auto apply_impl(Function&& func, Tuple&& args, index_sequence<Is...>)
Expand Down

0 comments on commit 105934f

Please sign in to comment.