From 455d17de4a91a2d3e7d66ddd43ac90f7a3d2176a Mon Sep 17 00:00:00 2001 From: Zhang Date: Mon, 29 Jan 2024 17:36:59 +0800 Subject: [PATCH] correct install oneMKL --- .github/workflows/build.yml | 6 ++++-- README-sycl.md | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 058c4aab0e9b4..130bb0701767d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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 diff --git a/README-sycl.md b/README-sycl.md index aa58e5bfbfb5b..e5eb0cc83ade8 100644 --- a/README-sycl.md +++ b/README-sycl.md @@ -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