Skip to content

UCT/API/TEST: Support holding the descriptor from active message callback. - #167

Merged
mike-dubman merged 1 commit into
openucx:masterfrom
yosefe:topic/release-am-desc
Mar 18, 2015
Merged

mike-dubman merged 1 commit into
openucx:masterfrom
yosefe:topic/release-am-desc

Conversation

@yosefe

@yosefe yosefe commented Mar 17, 2015

Copy link
Copy Markdown
Member

No description provided.

@yosefe
yosefe force-pushed the topic/release-am-desc branch 2 times, most recently from 2bd91c7 to 57292b3 Compare March 17, 2015 11:27
@yosefe
yosefe force-pushed the topic/release-am-desc branch from 57292b3 to 5717b22 Compare March 17, 2015 12:30
@mellanox-github

Copy link
Copy Markdown
Contributor

Refer to this link for build results (access rights to CI server needed):
http://bgate.mellanox.com:8000/jenkins-secure/job/gh-ucx-pr/350/
Test PASSed.

@yosefe

yosefe commented Mar 17, 2015

Copy link
Copy Markdown
Member Author

@alex-mikheev pls take a look

Comment thread src/uct/api/uct.h

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this is new public API that has to be documented (brief documentation)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I guess, the assumption here that the descriptor is not released automatically after the callback ? So we have to add the explicit call ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

yes

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

re documentation - i have another commit in the queue which fixes it

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think there was a discussion to control the release through return code of the callback?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

yes - if the callback returns UCS_INPROGRESS , it will be owned by user

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

so in order to release user has to cache both Iface and descriptor pair. Can we just use desc ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

then desc mighl have to cache iface..

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

yeah….I'm not sure what is the right answer

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I spent some time thinking about it. I think, I prefer not to cache it on the descriptor.

@shamisp

shamisp commented Mar 17, 2015

Copy link
Copy Markdown
Contributor

This is API change that can be important for UTK folks. Can you please send a note on the list (request for review)

@yosefe

yosefe commented Mar 17, 2015

Copy link
Copy Markdown
Member Author

sure, but please note it's not a "change" - it just adds missing functionality

@shamisp

shamisp commented Mar 17, 2015

Copy link
Copy Markdown
Contributor

Agree

@mike-dubman

Copy link
Copy Markdown
Contributor

+1

mike-dubman added a commit that referenced this pull request Mar 18, 2015
UCT/API/TEST: Support holding the descriptor from active message callback.
@mike-dubman
mike-dubman merged commit 49b6f19 into openucx:master Mar 18, 2015
@mike-dubman
mike-dubman deleted the topic/release-am-desc branch March 18, 2015 15:08
hoopoepg pushed a commit to hoopoepg/ucx that referenced this pull request Jul 20, 2021
APPS/IO-DEMO: Backport report performance fixes from master
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

Successfully merging this pull request may close these issues.

6 participants