correct install oneMKL
This commit is contained in:
parent
fd02bddc94
commit
455d17de4a
2 changed files with 6 additions and 4 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -42,7 +42,9 @@ jobs:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: install
|
- 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
|
- name: Build
|
||||||
|
@ -51,7 +53,7 @@ jobs:
|
||||||
"C:\Program Files (x86)\Intel\oneAPI\setvars.bat" intel64
|
"C:\Program Files (x86)\Intel\oneAPI\setvars.bat" intel64
|
||||||
mkdir build
|
mkdir build
|
||||||
cd 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
|
make
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -279,10 +279,10 @@ mkdir build
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
#for FP16
|
#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
|
#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
|
#build example/main only
|
||||||
#make main
|
#make main
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue