What is the difference between PyCUDA and NumbaPro CUDA Python?

PDiracDelta picture PDiracDelta · Jul 18, 2017 · Viewed 12.7k times · Source

I'm new to CUDA and am trying to figure out whether PyCUDA (free) or NumbaPro CUDA Python (not free) would be better for me (assuming the library cost is not an issue).

Both seem to require that you use their respective Python dialects. But, it seems that PyCUDA requires you to write a kernel function in C code, which would be more cumbersome than using NumbaPro, which seems to do all the hard work for you.

Is this indeed the case? Would there be notable performance differences?

Answer

Wang picture Wang · Aug 30, 2017

numbapro now is numba on BSD license which is free also.

according to this report pyOpenCL and pyCUDA is 5 times faster than numba