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

[FEA]: STF logical token should be compatible with the freeze API #3475

Open
1 task done
caugonnet opened this issue Jan 22, 2025 · 2 comments
Open
1 task done

[FEA]: STF logical token should be compatible with the freeze API #3475

caugonnet opened this issue Jan 22, 2025 · 2 comments
Assignees
Labels
feature request New feature or request. stf Sequential Task Flow programming model

Comments

@caugonnet
Copy link
Contributor

Is this a duplicate?

Area

CUDA Experimental (cudax)

Is your feature request related to a problem? Please describe.

The freeze API in STF makes it possible to hold logical data without using tasks, so that user code can interoperate with STF resources outside tasks. Logical tokens are specific types of logical data which have no physical backing of the data, and are used purely for synchronization.

Describe the solution you'd like

Both mechanisms should be compatible, however the current API is based on a get() method to retrieve a copy of the logical data content. We should specify how this behaves with a token (eg. returning a dummy void_interface object), document it, and add some unit tests.

Describe alternatives you've considered

No response

Additional context

No response

@caugonnet caugonnet added the feature request New feature or request. label Jan 22, 2025
@caugonnet caugonnet self-assigned this Jan 22, 2025
@github-project-automation github-project-automation bot moved this to Todo in CCCL Jan 22, 2025
@caugonnet
Copy link
Contributor Author

This would be an essential feature to make #2674 a powerful mechanism

@caugonnet caugonnet added the stf Sequential Task Flow programming model label Jan 22, 2025
@caugonnet
Copy link
Contributor Author

This is being implemented in #2674 along with unit tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request. stf Sequential Task Flow programming model
Projects
Status: Todo
Development

No branches or pull requests

1 participant