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

UCT/API: Add new MD resource query API #10154

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

tvegas1
Copy link
Contributor

@tvegas1 tvegas1 commented Sep 17, 2024

What

Introduce UCT MD transport resource descriptor query v2. Relates to #10141.

Why ?

More parameters need to be queried and UCT ABI cannot change.

How ?

Add all mandatory fields as parameters, use new params for future parameter (in and out).

@tvegas1 tvegas1 added the API label Sep 17, 2024
src/uct/api/v2/uct_v2.h Outdated Show resolved Hide resolved
brminich
brminich previously approved these changes Sep 18, 2024
ivankochin
ivankochin previously approved these changes Sep 18, 2024
src/uct/api/v2/uct_v2.h Outdated Show resolved Hide resolved
src/uct/api/v2/uct_v2.h Outdated Show resolved Hide resolved
@tvegas1 tvegas1 dismissed stale reviews from ivankochin and brminich via 6ef27ff September 19, 2024 15:51
src/uct/api/v2/uct_v2.h Outdated Show resolved Hide resolved
/**
* Main resource descriptor
*/
uct_tl_resource_desc_t desc;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I noticed the issue only after I started to review the implementation.
V2 API shouldn't depend on V1 API. If the new structure has to replace the old one, then it is better to write the code without using the old API. Except for the old interface, which uses this structure.

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

Successfully merging this pull request may close these issues.

4 participants