Skip to content

Commit 483bdc6

Browse files
committed
Add rocblas_DIR to cmake command
1 parent fa58d4b commit 483bdc6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/linux_hipsycl.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,11 @@ jobs:
4747
wget https://registrationcenter-download.intel.com/akdlm/irc_nas/18236/l_BaseKit_p_2021.4.0.3422.sh
4848
bash l_BaseKit_p_2021.4.0.3422.sh -a --action install -s --eula accept --components=intel.oneapi.lin.tbb.devel:intel.oneapi.lin.mkl.devel --install-dir /opt/intel/ --download-dir /opt/intel/dw/ --download-cache /opt/intel/dw/ --package-path /opt/intel/intel
4949
- name: clone and build oneMKL
50-
env:
51-
rocblas_DIR: /opt/rocm-${{matrix.rocm_version}}/lib/cmake/rocblas/
5250
run: |
5351
cd
5452
git clone https://github.com/oneapi-src/oneMKL.git
5553
cd oneMKL
5654
mkdir build
5755
cd build
58-
cmake -DENABLE_CUBLAS_BACKEND=False -DENABLE_MKL_GPU_BACKEND=False -DENABLE_NETLIB_BACKEND=False -DENABLE_ROCBLAS_BACKEND=True -DTARGET_DOMAINS=blas -DMKL_ROOT=/opt/intel/mkl/latest/ -DHIPSYCL_TARGETS=omp\;hip:gfx906 -DONEMKL_SYCL_IMPLEMENTATION=hipSYCL -DROCM_ROOT=/opt/rocm-${{matrix.rocm_version}}/ ..
56+
rocblas_DIR=/opt/rocm-${{matrix.rocm_version}}/lib/cmake/rocblas/ cmake -DENABLE_CUBLAS_BACKEND=False -DENABLE_MKL_GPU_BACKEND=False -DENABLE_NETLIB_BACKEND=False -DENABLE_ROCBLAS_BACKEND=True -DTARGET_DOMAINS=blas -DMKL_ROOT=/opt/intel/mkl/latest/ -DHIPSYCL_TARGETS=omp\;hip:gfx906 -DONEMKL_SYCL_IMPLEMENTATION=hipSYCL -DROCM_ROOT=/opt/rocm-${{matrix.rocm_version}}/ ..
5957

0 commit comments

Comments
 (0)