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

Support Module function enumeration #669

Closed
eyalroz opened this issue Sep 5, 2024 · 0 comments
Closed

Support Module function enumeration #669

eyalroz opened this issue Sep 5, 2024 · 0 comments

Comments

@eyalroz
Copy link
Owner

eyalroz commented Sep 5, 2024

Beginning with CUDA 12.4, we are able to "enumerate" the functions in a module, or more literally - get an array of all cuFunction's for all compiled functions in a module. These can then be wrapped into cuda::kernel_t's queried for names, attributes etc.

Relevant API function is:

CUresult cuModuleEnumerateFunctions ( CUfunction* functions, unsigned int  numFunctions, CUmodule mod );

We also need to think about whether we want a container of cuda::kernel_t's, or a container of cuFunction's, or both.

@eyalroz eyalroz added this to the Full CUDA 12.4 support milestone Sep 5, 2024
eyalroz added a commit that referenced this issue Sep 7, 2024
eyalroz added a commit that referenced this issue Sep 10, 2024
eyalroz added a commit that referenced this issue Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant