Numba's custom CUDA kernels are highly effective for tasks beyond simple element-wise operations, such as stencil algorithms requiring access to neighboring data, and complex reductions like summing large vectors, where `ufuncs` fall short.
Open the full topic