Tutorial¶ Getting started¶ Before you can use PyCuda, you have to import and initialize it: import pycuda.driver as cuda import pycuda.autoinit from pycuda.compiler import SourceModule Note that you do not have to use pycuda.autoinit– initialization, context creation, and cleanup can also be performed manually, if desired. Transferring Data¶ The next step in most programs is to transfer data onto