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

Resource id function missing? #47

Open
GuillaumeMercier opened this issue Oct 6, 2022 · 2 comments
Open

Resource id function missing? #47

GuillaumeMercier opened this issue Oct 6, 2022 · 2 comments

Comments

@GuillaumeMercier
Copy link
Collaborator

In the current version of QV, there is no function ro retrieve/query the indices of the resources
a process/threads is bound to (unless I'm mistaken).
Should we introduce one or let the user rely on hwloc?
Note that qv_scope_get_device_id does not provide this functionality since the index
is one of its argument.

@eleon
Copy link
Member

eleon commented Oct 7, 2022

At the moment, I can't think how this would help users. Do you have an example/use case where this is needed?

@GuillaumeMercier
Copy link
Collaborator Author

Two points:
1- An analogy with MPI programming: how would you do if you had only MPI_Comm_size and no MPI_Comm_rank?
2- This information can be used to compute colors for splitting. It would help the user to design more flexible mapping policy.

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