| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/gicho/cpp-taskflow/dev/benchmark/binary_tree/tbb.cpp | [Back] [Original] |
#include "binary_tree.hpp"
#include
#include
// binary_tree_tbb
void binary_tree_tbb(size_t num_layers, unsigned num_threads) {
using namespace tbb;
using namespace tbb::flow;
tbb::task_scheduler_init init(num_threads);
std::atomic counter {0};
graph g;
std::vector tasks(1
| Web Proxy Viewer | New URL | Original Page |