Skip to content

Commit cbbe3ee

Browse files
committed
fix CUDA build
1 parent a087e04 commit cbbe3ee

2 files changed

Lines changed: 1 addition & 10 deletions

File tree

include/nvexec/stream/bulk.cuh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ namespace nvexec::_strm {
393393
struct transform_sender_for<stdexec::bulk_t> {
394394
template <class Data, stream_completing_sender Sender>
395395
auto operator()(__ignore, Data data, Sender&& sndr) const {
396-
auto [shape, fun] = static_cast<Data&&>(data);
396+
auto [policy, shape, fun] = static_cast<Data&&>(data);
397397
using Shape = decltype(shape);
398398
using Fn = decltype(fun);
399399
auto sched = get_completion_scheduler<set_value_t>(get_env(sndr));

include/nvexec/stream/sync_wait.cuh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -195,15 +195,6 @@ namespace nvexec::_strm {
195195

196196
return std::move(std::get<1>(state.data_));
197197
}
198-
199-
#if STDEXEC_EDG()
200-
// For reporting better diagnostics with nvc++
201-
template <class _Sender, class _Error = stdexec::__sync_wait::__error_description_t<_Sender>>
202-
auto operator()(
203-
context_state_t context_state,
204-
_Sender&&,
205-
[[maybe_unused]] _Error __diagnostic = {}) const -> std::optional<std::tuple<int>> = delete;
206-
#endif
207198
};
208199
} // namespace _sync_wait
209200

0 commit comments

Comments
 (0)