我正在嘗試構建CLBLAS來自 Ubuntu 16.04(64 位元)的原始碼。從cmake
配置輸出來看,依賴關係似乎已被滿足。我正在按照以下指示進行指導這裡像這樣;
## clBlas
sudo apt-get install git
git clone https://github.com/clMathLibraries/clBLAS.git
cd clBLAS/
mkdir build
cd build/
sudo apt-cache search openblas
sudo apt-get install libopenblas-base libopenblas-dev
sudo apt-get install liblapack3 liblapack-doc liblapack-dev
cmake ../src
make
sudo make install
make[2]: *** No rule to make target '/opt/AMDAPPSDK-
3.0/lib/x86_64/libOpenCL.so', needed by 'library/libclBLAS.so.2.10.0'. Stop.
CMakeFiles/Makefile2:223: recipe for target 'library/CMakeFiles/clBLAS.dir/all' failed
make[1]: *** [library/CMakeFiles/clBLAS.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
我沒有包含所有輸出,僅包含顯示sudo make install
運行時問題的最後幾行。任何人都可以建議這裡的問題是什麼以及如何建造 clBLAS 嗎?謝謝。