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

Does PMIS coarsening run in parallel? #323

Open
learning-chip opened this issue Mar 22, 2022 · 1 comment
Open

Does PMIS coarsening run in parallel? #323

learning-chip opened this issue Mar 22, 2022 · 1 comment

Comments

@learning-chip
Copy link

I was looking at the internal code of PMIS, the maximal_independent_set_parallel function inside amg_core/graph.h:

template<class I, class T, class R>
I maximal_independent_set_parallel(const I num_rows,
const I Ap[], const int Ap_size,
const I Aj[], const int Aj_size,
const T active,
const T C,
const T F,
T x[], const int x_size,
const R y[], const int y_size,
const I max_iters)
{

However I did not find code related to parallelization / multi-threading / openmp / etc. Am I missing something, or parallelism is not implemented yet? The algorithm itself is indeed highly parallelizable.

Thanks!

@lukeolson
Copy link
Member

no parallelism yet. but this helped nudge an old branch and we now have a PR:
#324

This would add OpenMP to the solve phase ... adding it to the setup phase is more or less straightforward. Let's see how this PR goes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants