September 2018
Intermediate to advanced
380 pages
9h 40m
English
In the last section, we saw many advantages of using the Python programming language. It is also mentioned that Python is much slower than C or C++. So, it will be beneficial if it can leverage the parallel processing capability of a GPU. Python provides a PyCUDA wrapper that can utilize the parallel computing capability of a GPU by using the Nvidia CUDA API. Python also has a PyOpenCL module that can be used for parallel computation on any GPU.
Then, one question you might ask is why you have to use PyCUDA, which is specific to Nvidia GPUs. There are many advantages of using PyCUDA over other similar modules; the following are the reasons:
Read now
Unlock full access