Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multithreading #1

Open
Titaniumtown opened this issue Aug 26, 2020 · 2 comments
Open

multithreading #1

Titaniumtown opened this issue Aug 26, 2020 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers question Further information is requested

Comments

@Titaniumtown
Copy link

I don't know much C (or C++ for that matter), but I did some googling, and it seems people have figured out how to multi-thread this, I would love to see that added to this repo! Would be neat to benchmark high-thread machines.

@khushit-shah
Copy link
Owner

The equation used in this repo, does not support multithreading as next iteration is dependent on previous iterations. The library I use GMP is also not multithreaded.
We can use other algorithm which allows concurrent calculation of PI, and maybe also change the library so that it support vectorization and parallelism.

@khushit-shah khushit-shah added enhancement New feature or request good first issue Good for newcomers question Further information is requested labels Aug 27, 2020
@Titaniumtown
Copy link
Author

aaah ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants