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] Make device attributes queryable #111

Open
din14970 opened this issue Jan 17, 2025 · 1 comment
Open

[FEA] Make device attributes queryable #111

din14970 opened this issue Jan 17, 2025 · 1 comment
Labels
feature request New feature or request

Comments

@din14970
Copy link

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

I wish I could use numba-cuda to query more information from the device. cudaDeviceProp can be quite useful to check what kind of hardware one is working with, and based on this information one could adapt the grid.

Describe the solution you'd like

Somehow expose information about the device through additional properties or functions on the device object.

Describe alternatives you've considered

Using other packages, like cupy (https://docs.cupy.dev/en/stable/reference/generated/cupy.cuda.Device.html). But I would prefer to minimize dependencies if possible.

Additional context

N/A

@din14970 din14970 added the feature request New feature or request label Jan 17, 2025
@leofang
Copy link
Member

leofang commented Jan 18, 2025

We are working on this (NVIDIA/cuda-python#210) and going forward we'll help numba-cuda avoid having to expose CUDA features to Python (similar to #102) so that it can focus on its missions.

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
Projects
None yet
Development

No branches or pull requests

2 participants