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

Separate tag and stream ID in API calls #106

Open
Mellich opened this issue Oct 18, 2022 · 0 comments
Open

Separate tag and stream ID in API calls #106

Mellich opened this issue Oct 18, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@Mellich
Copy link
Contributor

Mellich commented Oct 18, 2022

Currently, we only have a single parameter to specify the source/destination tag of a message and the source/destination stream_id. This means, that tag and stream_id have to match for every call.

However, the stream_id may also be used in applications to identify different user kernels. Forcing a mapping to a tag artificially reduces the number of valid tags for a message. Also, the tag range is larger than the stream_id range, which may lead to undefined behaviour in some cases.

Possible solutions could be:

  • Use the stream_id that is sent by the user kernel with the data and forward it to the remote.
  • Allow to specify a separate stream_id in recv and stream_put calls to allow the specification of the destination user kernel if the data is coming from a buffer.
@Mellich Mellich added the enhancement New feature or request label Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant