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

cuda-parallel: Algorithms should not make repeated calls to get_bindings() function #4143

Open
oleksandr-pavlyk opened this issue Mar 14, 2025 · 0 comments · May be fixed by #4144
Open

cuda-parallel: Algorithms should not make repeated calls to get_bindings() function #4143

oleksandr-pavlyk opened this issue Mar 14, 2025 · 0 comments · May be fixed by #4144
Assignees

Comments

@oleksandr-pavlyk
Copy link
Contributor

In reduce_info algorithm the call to get_bindings() is made in __init__, __call__ and __del__ methods.

In merge_sort it is made in __init__, saved to self.bindings, reused in __call__ but made again in __del__.
Similar patterns repeats across algorithms.

This issue is to track work to only make the call to get_bindings() in __init__ method, and reuse self.bingings in all others across algorithms.

@oleksandr-pavlyk oleksandr-pavlyk self-assigned this Mar 14, 2025
@github-project-automation github-project-automation bot moved this to Todo in CCCL Mar 14, 2025
@cccl-authenticator-app cccl-authenticator-app bot moved this from Todo to In Review in CCCL Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Review
Development

Successfully merging a pull request may close this issue.

1 participant