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

Need a convenient function for getting a kernel from a __global__ function #469

Closed
eyalroz opened this issue Feb 18, 2023 · 1 comment
Closed

Comments

@eyalroz
Copy link
Owner

eyalroz commented Feb 18, 2023

While the wrappers offer convenient functions for obtaining kernel_t's from modules, there is no convenient named-constructor-idiom for getting a kernel_t based on a baked-in __global__ function. Perhaps something like a cuda::kernel::from_function() ?

@eyalroz eyalroz changed the title Need a convenient function for getting a kernel from a __global Need a convenient function for getting a kernel from a __global__ function Feb 18, 2023
@eyalroz
Copy link
Owner Author

eyalroz commented Feb 19, 2023

Forgot we already had kernel::get(). But perhaps that's not such a great name?

@eyalroz eyalroz closed this as completed Feb 20, 2023
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

No branches or pull requests

1 participant