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

Commit 1855dfb

Browse files
authored
Update zip_function.h
1 parent be34b50 commit 1855dfb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

thrust/zip_function.h

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ namespace zip_detail {
3434
// Add workaround for decltype(auto) on C++11-only compilers:
3535
#if THRUST_CPP_DIALECT >= 2014
3636

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

5253
#else // THRUST_CPP_DIALECT
5354

55+
__thrust_exec_check_disable__
5456
template <typename Function, typename Tuple, std::size_t... Is>
5557
__host__ __device__
5658
auto apply_impl(Function&& func, Tuple&& args, index_sequence<Is...>)

0 commit comments

Comments
 (0)