Build - clMathLibraries/clBLAS GitHub Wiki
You may install clBLAS as the following:
First, enter the project folder and create build dir. Later, build this.
cd clBLAS
cd src && mkdir build && cd build
cmake ..
Note 1: It seems latest clBLAS (clBLAS2.7) install the binary under /usr/local instead of /opt/clBLAS2.7. Note 2: Please use ccmake to make it easier for the option selection.
If some dependencies are not installed properly, you will get some errors in the cmake output such as libacml.so not found, in this case, just set the environment variable, eg "export ACML_ROOT=/opt/acml5.3.1". Fix all the dependency problem until there is no complaint.
sudo make
sudo make install