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

Function serial_fib

examples/benchmark/fibonacci.cpp:27–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25#include <stdexec/execution.hpp>
26
27auto serial_fib(long n) -> long
28{
29 return n < 2 ? n : serial_fib(n - 1) + serial_fib(n - 2);
30}
31
32template <class... CompletionSigs>
33using any_sender_of =

Callers 1

startMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected