MCPcopy Create free account
hub / github.com/NVIDIA/stdexec / bulk_shared_state

Function bulk_shared_state

include/exec/libdispatch_queue.hpp:395–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393 STDEXEC::__q<STDEXEC::__std_variant>>;
394
395 bulk_shared_state(Receiver rcvr, Shape shape, Fun fun)
396 : rcvr_{std::move(rcvr)}
397 , shape_{shape}
398 , fun_{fun}
399 , task_with_exception_{static_cast<std::uint32_t>(num_tasks())}
400 {}
401
402 Shape num_tasks() const
403 {

Callers

nothing calls this directly

Calls 1

num_tasksFunction · 0.85

Tested by

no test coverage detected