ysh329 / OpenCL-101

Learn OpenCL step by step.
123 stars 31 forks source link

Performance between clBLAS and clBlast on AMD embedded GPU #25

Open ysh329 opened 6 years ago

ysh329 commented 6 years ago

clBLAS

The build guide of clBLAS on linux is not support on its official repo. but founded in opencl-caffe repo. here and detailed command as below:

cd src & mkdir build & cd build
cmake -DCMAKE_INSTALL_PATHATH=/opt/clBLAS2.7 -DOCL_VERSION TRING=2.0 -DCMAKE_BUILD_TYPE=Release -DPRECOMPILE_GEMM_PRECISION_SGEMM:BOOL=ON-DPRECOMPILE_GEMM_TRANS_NN:BOOL=ON -DPRECOMPILE_GEMM_TRANS_NT:BOOL=ON-DPRECOMPILE_GEMM_TRANS_TN:BOOL=ON -DPRECOMPILE_GEMM_TRANS_TT:BOOL=ON ..

But it seems some problem when executing. TODO fix

clBlast