Skip to content

Commit

Permalink
correct install oneMKL
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoZhangJianyu committed Jan 29, 2024
1 parent fd02bdd commit 455d17d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ jobs:
fetch-depth: 0

- name: install
run: scripts/install_windows.bat $WINDOWS_BASEKIT_URL $WINDOWS_DPCPP_COMPONENTS $WINDOWS_MKL_COMPONENTS
run: |
scripts/install_windows.bat $WINDOWS_BASEKIT_URL $WINDOWS_DPCPP_COMPONENTS
scripts/install_windows.bat $WINDOWS_BASEKIT_URL $$WINDOWS_MKL_COMPONENTS

- name: Build
Expand All @@ -51,7 +53,7 @@ jobs:
"C:\Program Files (x86)\Intel\oneAPI\setvars.bat" intel64
mkdir build
cd build
cmake -G "MinGW Makefiles" . -DLLAMA_SYCL=ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icx -DCMAKE_BUILD_TYPE=Release
cmake -G "MinGW Makefiles" .. -DLLAMA_SYCL=ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icx -DCMAKE_BUILD_TYPE=Release
make
Expand Down
4 changes: 2 additions & 2 deletions README-sycl.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,10 +279,10 @@ mkdir build
cd build
#for FP16
#cmake -G "MinGW Makefiles" . -DLLAMA_SYCL=ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icx -DCMAKE_BUILD_TYPE=Release -DLLAMA_SYCL_F16=ON
#cmake -G "MinGW Makefiles" .. -DLLAMA_SYCL=ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icx -DCMAKE_BUILD_TYPE=Release -DLLAMA_SYCL_F16=ON
#for FP32
cmake -G "MinGW Makefiles" . -DLLAMA_SYCL=ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icx -DCMAKE_BUILD_TYPE=Release
cmake -G "MinGW Makefiles" .. -DLLAMA_SYCL=ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icx -DCMAKE_BUILD_TYPE=Release
#build example/main only
#make main
Expand Down

0 comments on commit 455d17d

Please sign in to comment.