We have seen how we can accelerate various applications using OpenCV and CUDA. We have used C or C++ as a programming language. Nowadays, Python is very popular in many domains, so it will be very useful if we can accelerate Python applications using CUDA. Python provides a PyCUDA module that does exactly that.
It uses the Nvidia CUDA toolkit which, in turn, requires an Nvidia graphics card installed on the computer. This chapter will give an introduction to the Python language and the PyCUDA module, in particular. It will discuss the installation procedure for the PyCUDA module on the Windows and Linux operating systems. Though the chapter requires some familiarity with the Python language, newcomers will also be able to follow most of the procedures.
The following topics will be covered in this chapter:
- Introduction to the Python Programming Language...