JuliaFolds / FLoops.jl

Fast sequential, threaded, and distributed for-loops for Julia—fold for humans™

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question on threads

gitboy16 opened this issue · comments

Hi,
Is there a way to control the number of threads used before a loop? Let's say I start julia with 4 threads but for a specific loop i only want to use 2 threads. Is it possible to do it? A bit like #pragma omp parallel for num_threads()...

Thank you
Kind regards