You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
'CUDAUFuncDispatcher' object has no attribute '__name__' #8272
The second assertion, i.e. the one for bar, fails, causing AttributeError: 'CUDAUFuncDispatcher' object has no attribute '__name__'. For foo, the assert passes as expected. The difference: foo is compiled for target cpu, bar is compiled for target cuda. Otherwise, everything is identical. It would be useful if numba was consistent here.
Context
CPython == 3.10.5 (Linux, x86_64)
numba == 0.55.2
llvmlite == 0.38.1
Workaround
Not sure how reliable this is, but the following appears to work:
Activity
stuartarchibald commentedon Jul 25, 2022
Thanks for the report. @testhound / @gmarkall please could you take a look at this as it's CUDA target, many thanks.
testhound commentedon Aug 1, 2022
@stuartarchibald created a PR to address this issue: #8297
stuartarchibald commentedon Aug 8, 2022
@testhound many thanks, closing as #8297 is merged.