1
0
mirror of https://github.com/andre-wojtowicz/blas-benchmarks synced 2024-11-22 12:10:27 +01:00

disabled clblas

This commit is contained in:
Andrzej Wójtowicz 2016-05-05 16:58:11 +02:00
parent cb95f06917
commit 21a469a436

View File

@ -492,41 +492,42 @@ function cublas_check {
# - OpenCL # # - OpenCL #
############################################################## ##############################################################
DIR_CLBLAS=${DIR_BLAP}/clblas #DIR_CLBLAS=${DIR_BLAP}/clblas
#
function clblas_install { #function clblas_install {
#
echo "Started installing clBLAS" # echo "Started installing clBLAS"
#
apt-get install libboost-dev liblapack-dev libboost-program-options-dev opencl-headers ocl-icd-opencl-dev -y #nvidia-libopencl1 nvidia-opencl-dev # # TODO: req. OpenCL 1.2
apt-get clean # apt-get install libboost-dev liblapack-dev libboost-program-options-dev nvidia-opencl-dev
# apt-get clean
wget ${WGET_OPTIONS} https://github.com/clMathLibraries/clBLAS/archive/v2.10.tar.gz -O clBLAS-2.10.tar.gz #
tar -xvzf clBLAS-2.10.tar.gz # wget ${WGET_OPTIONS} https://github.com/clMathLibraries/clBLAS/archive/v2.10.tar.gz -O clBLAS-2.10.tar.gz
rm clBLAS-2.10.tar.gz # tar -xvzf clBLAS-2.10.tar.gz
# rm clBLAS-2.10.tar.gz
cd clBLAS-2.10/src #
# cd clBLAS-2.10/src
cmake . #
make -j `nproc` # cmake .
# make -j `nproc`
cp library/libclBLAS.so ${DIR_CLBLAS} #
# cp library/libclBLAS.so ${DIR_CLBLAS}
cd ../.. #
rm -r clBLAS-2.10 # cd ../..
# rm -r clBLAS-2.10
echo "Finished installing clBLAS" #
} # echo "Finished installing clBLAS"
#}
function clblas_check { #
#function clblas_check {
echo "Started checking clBLAS" #
# echo "Started checking clBLAS"
LD_PRELOAD="${DIR_CLBLAS}/libclBLAS.so /lib/x86_64-linux-gnu/libpthread.so.0" ${R_SAMPLE_BENCHMARK} #
# LD_PRELOAD="${DIR_CLBLAS}/libclBLAS.so /lib/x86_64-linux-gnu/libpthread.so.0" ${R_SAMPLE_BENCHMARK}
echo "Finished checking clBLAS" #
# echo "Finished checking clBLAS"
} #
#}
############################################################## ##############################################################
############################################################## ##############################################################