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

accelerator/rocm: adjust rocm mca parameter names #12721

Merged

Conversation

edgargabriel
Copy link
Member

@edgargabriel edgargabriel commented Jul 29, 2024

make the mca parameters of the accelerator/rocm component being recognized as parameters of the component, instead of generic mpi parameters. The original mca parameter names stem from the times when the rocm code was in opal/rocm/ instead of a component.

We are however keeping the old names as synonyms, e.g.

"accelerator_rocm_memcpy_async" (..., synonyms: mpi_accelerator_rocm_memcpy_async)

@edgargabriel edgargabriel changed the title accelerat/rocm: adjust rocm mca parameter names accelerator/rocm: adjust rocm mca parameter names Jul 29, 2024
@edgargabriel edgargabriel force-pushed the topic/rocm-mca-parameters-fix branch from b5cab9b to 320fbb0 Compare July 29, 2024 15:16
make the mca parameters of the accelerator/rocm component being
recognized as parameters of the component, instead of generic mpi
parameters. The original mca parameter names stem from the times when
the rocm component was in mca/common/rocm/ instead of a component.

We are however keeping the old names as synonyms, e.g.

"accelerator_rocm_memcpy_async" (..., synonyms: mpi_accelerator_rocm_memcpy_async)

Signed-off-by: Edgar Gabriel <[email protected]>
make the same adjustments for the parameter names for ze
as was done for rocm component, for the sake of consistency.
The cuda componet does not register its parameters in the component
itself, so this would be a bigger change.

Signed-off-by: Edgar Gabriel <[email protected]>
@edgargabriel edgargabriel force-pushed the topic/rocm-mca-parameters-fix branch from 989243a to b44ecf0 Compare July 30, 2024 18:42
@edgargabriel
Copy link
Member Author

edgargabriel commented Jul 30, 2024

@wenduwan could you please also re-review this pr? I have updated it to add the MCA_BASE_VAR_SYN_FLAG_DEPRECATED when registering the synonyms using the old parameter names, and I applied the same change to the ze component. The cuda component unfortunately does not register its mca parameters in the accelerator/cuda component, that might be a bigger change.

@edgargabriel
Copy link
Member Author

@hppritcha if you have a short minute., could you please check whether this pr is good to go? Since it touches the ze component, I would prefer to have your approval

@edgargabriel edgargabriel merged commit 3e03afa into open-mpi:main Aug 6, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants