-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Problem
from numba.cuda.np.numpy_support import carray suppose to create an array from a c-pointer, however because of the legalize_return_type pass it fails, making it a deadcode.
https://github.com/NVIDIA/numba-cuda/blob/main/numba_cuda/numba/cuda/np/arrayobj.py#L5819-L5834
Possible solution
Make carray overload inline="always" and disable legalize_return_type for inline="always".
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working