Is there a way that I can (using tbb from intel) specify the number of logical processors used by their parallel loops? Like i.e. I’d like to be able to detect number of logical processors and specify how many of them I’d like to use for this task.
Share
I assume you mean threads, and not processors.
Though I still think it’s better to just let TBB handle it automatically.
EDIT: based on comments, what you want is this: