-
Notifications
You must be signed in to change notification settings - Fork 39
Building local rocBLAS
Mario HDL edited this page Dec 11, 2018
·
2 revisions
In order to speed up RVS build, you may want to permanently install rocBLAS on your system.
sudo apt-get update
sudo apt-get install rocblas
In order to build rocBLAS from source follow these steps:
Clone rocBLAS repository:
cd my/locl/rocblass/clone
git clone https://github.com/ROCmSoftwarePlatform/rocBLAS.git -b v14.3.0
Note: if you may bump up rocBLAS version by changing tag in -b
option
cd rocBLAS
./install.sh -d -i
Note:
- if rocBLAS dependencies are already satisfied then you may omit
-d
option - in case
./install.sh -d
fails please try without-d
- if your rocBLAS install folder is different from
/opt/rocm
you need to updateROCBLAS_INC_DIR
andROCBLAS_LIB_DIR
based on your rocBLAS installation location when running RVS cmake for the first time (clean build):
cmake -DROCBLAS_INC_DIR=my/rocblass/install -DROCBLAS_LIB_DIR=my/rocblas/instal/lib . -B../build