Installation
https://wiki.tiker.net/PyCuda/Installation
CentOS
https://wiki.tiker.net/PyCuda/Installation/Linux/Fedora
Tutorial
https://www.youtube.com/watch?v=LumJX2gyX9k
Documents:
https://documen.tician.de/pycuda/
https://developer.nvidia.com/pycuda
Study examples from:
https://documen.tician.de/pycuda/tutorial.html
and folder examples in pycuda
Alternative:
Numbapro
Assignment:
Consider the code laplace2d.c as following file.
Convert it to pycuda.
Measure the time compared with omp and openacc version (step1, and step2)
====
You may consider PyOpenCL
https://wiki.tiker.net/PyOpenCL
Dependency: libffi-devel,
link :
sudo ln -s /usr/local/cuda-7.5/targets/x86_64-linux/include/CL /usr/include