Home
last modified time | relevance | path

Searched refs:single_fib_task (Results 1 – 1 of 1) sorted by relevance

/oneTBB/examples/migration/recursive_fibonacci/
H A Dfibonacci_single_task.h33 struct single_fib_task : task_emulation::base_task { struct
39 single_fib_task(int n, int* x) : n(n), x(x), s(state::compute) in single_fib_task() function
71 bypass = this->allocate_child_and_increment<single_fib_task>(n - 2, &x_r); in compute_impl() argument
72 … task_emulation::run_task(this->allocate_child_and_increment<single_fib_task>(n - 1, &x_l)); in compute_impl()
93 …task_emulation::run_and_wait(tg, task_emulation::allocate_root_task<single_fib_task>(/* for root t… in fibonacci_single_task() argument