CUDA in Python through Cython

Some study cases about how to wrap CUDA code in Python using Cython. This is much simpler than I thought and reading CUDA by example (see references below) really helped me out. With a minimum knowledge about Cython it was easy to use the GPU power in Python:


Jason Sanders, Edward Kandrot. "CUDA by example: An introduction to general-purpose GPU programming". Addison-Wesley, 2010.