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

Missing macro wrapper for zip_function #1715

Merged
merged 1 commit into from
Jun 29, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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