Caveats On some multi-gpu systems, when program finally exits, you may see PyCUDA ERROR: The context stack was not empty upon module cleanup. This can be ignored for now.