Skip to content

Commit

Permalink
Set hipSYCL_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsfriess committed Mar 19, 2023
1 parent 75a30cb commit 1e19a88
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
cd
git clone https://github.com/Reference-LAPACK/lapack.git
cd lapack
cmake -S . -B build -DCMAKE_INSTALL_LIBDIR=$(pwd)/install -DBUILD_SHARED_LIBS=ON -DCBLAS=ON
cmake -S . -B build -DCMAKE_INSTALL_LIBDIR=/opt/lapack -DBUILD_SHARED_LIBS=ON -DCBLAS=ON
sudo cmake --build build -j2 --target install
- name: clone oneMKL
Expand All @@ -103,6 +103,7 @@ jobs:
AMDDeviceLibs_DIR: /opt/rocm-${{matrix.rocm_version}}/lib/cmake/AMDDeviceLibs/
amd_comgr_DIR: /opt/rocm-${{matrix.rocm_version}}/lib/cmake/amd_comgr/
hsa-runtime64_DIR: /opt/rocm-${{matrix.rocm_version}}/lib/cmake/hsa-runtime64/
hipSYCL_DIR: /opt/OpenSYCL/lib/cmake
run: |
cd ~/oneMKL
cmake -S . -B build_cublas\
Expand All @@ -120,6 +121,6 @@ jobs:
-DTARGET_DOMAINS=blas \
-DHIPSYCL_TARGETS=omp\;cuda:sm_61\
-DONEMKL_SYCL_IMPLEMENTATION=hipSYCL \
-DREF_BLAS_ROOT=~/lapack/install ..
-DREF_BLAS_ROOT=/opt/lapack ..
cmake --build build_cublas -j2
ctest --test-dir build_cublas

0 comments on commit 1e19a88

Please sign in to comment.