You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found about this library and I think it's great. I was reading the article and trying out the examples and the example with the parallel loop failed to compile.
Starting with v2.0.0, parallelize_loop() takes a function with two arguments, the start and end indices of the block. Please see the documentation for more information. The arXiv paper is old, the documentation on GitHub is the one you should go by (I'll probably update the arXiv paper in the next release).
Update: v3.0.0 will be released in the next few days. With this release, the arXiv paper will be updated as well. I have also included a warning in README.md that the paper is updated less frequently than the documentation on GitHub.
Describe the bug
I found about this library and I think it's great. I was reading the article and trying out the examples and the example with the parallel loop failed to compile.
Minimal working example
first I tried this code
and got the compiler error
Then, I tried the example on the paper
And got a similar error
I compiled with the command
System information
-pthread -std=c++17 pool.cpp
The text was updated successfully, but these errors were encountered: