7 #include "oneapi/tbb/task_arena.h" 11 unsigned int setNThreads(
unsigned int iNThreads,
unsigned int iStackSize, std::unique_ptr<ThreadsController>& oPtr) {
18 iNThreads = oneapi::tbb::this_task_arena::max_concurrency();
20 oPtr = std::make_unique<ThreadsController>(
static_cast<int>(iNThreads), iStackSize);
unsigned int setNThreads(unsigned int iNThreads, unsigned int iStackSize, std::unique_ptr< ThreadsController > &oPtr)