Re:Numba: High-Performance Python with CUDA Acceleration
by marmaduke on Thursday September 21, 2017 @10:02AM
(#15303469)
You can just remove the decorator?
[ Parent
| on HN ]
Re:Numba: High-Performance Python with CUDA Acceleration
by glup on Thursday September 21, 2017 @12:29PM
(#15305091)
No, because certain things are fine in an interpreted function that will fail to compile, and throw totally uninformative errors. E.g., one time I spent about 3 hours trying to figure out why a relatively simple, perfectly functional Numpy function, limited to the subset of Numba primitives wouldn't compile. A labmate with actual knowledge of C looked at the code and in about 30 seconds suggested it might be having two return statements; she was of course correct that this was the problem. Doh.