A short notice on performing matrix multiplications in PyCUDA
Among the most common technical and scientific numerical operations, matrix multiplication occupies one of the top positions.
In Python, matrix multiplication is immediately possible using the
dot routine of
numpy library. But how performing matrix multiplications on a GPU using
PyCUDA offers the possibility of interfacing codes with already available
CUDA libraries. This is a luck since, as known,
cuBLAS enables matrix multiplications on GPUs in an extreemly effective and fast way.