diff --git a/include/nvexec/stream/bulk.cuh b/include/nvexec/stream/bulk.cuh index 3b39d6c40..5e2594577 100644 --- a/include/nvexec/stream/bulk.cuh +++ b/include/nvexec/stream/bulk.cuh @@ -304,9 +304,8 @@ namespace nv::execution::_strm : opstate_base_t( static_cast(__sndr), static_cast(__rcvr), - [&](_strm::opstate_base&) - -> STDEXEC::__t> - { return STDEXEC::__t>(shape, fun, *this); }, + [&](_strm::opstate_base&) -> receiver + { return receiver(shape, fun, *this); }, ctx) , num_devices_(num_devices) , streams_(new cudaStream_t[num_devices_])