-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Support zero-length arrays in numba.cuda #6050
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
Comments
Thanks for the report / request! |
See also #5234 |
#5234 is about arrays with shape |
Yes, I don't think they're duplicates, I was just trying to gather together a few shape-related issues in case someone is looking at fixing up things in these areas. |
I think I already fixed the other one :) |
Hello everyone! I am new here and I wanted to see if I could work on this as my first issue? |
Hi, @eric-wieser , @gmarkall is this issue still open? Can I contribute in any way? |
@AruparnaMaity If you can see a way to fix it, you could open a PR with the fix, if you'd like - note that as per https://numba.discourse.group/t/rfc-moving-the-cuda-target-to-a-new-package-maintained-by-nvidia/2628 new PRs should go to https://github.com/nvidia/numba-cuda Many thanks in advance! |
As an example,
gives
ValueError: array length <= 0
.Currently these lines contain a workaround because of this issue:
numba/numba/cuda/cudadrv/devicearray.py
Lines 432 to 455 in 3399d61
The text was updated successfully, but these errors were encountered: