Demo for the computation of 2D cross correlations using OpenCL to farm compute across multiple devices
Example constructed by Dr Toby Potter from Pelagos Consulting and Education.
- You will need to have an OpenCL environment installed and ready to use with known locations for "CL/cl.hpp" and "libOpenCL.so".
- In order to use the Jupyter notebook for writing data, you need a jupyter-lab python environment installed with the following packages:
- Ipyml
- Matplotlib
- Scipy
- Numpy
- Jupyter
- You will also need a C++ compiler
- ipyml package. Construction and testing of the demo has been done on Linux but it may also work for MacOS.
- After downloading the demo, edit the makefile to suit the location of your OpenCL and Library files. Then use the notebook to run the code.