docs: add more details about using oneMKL and oneAPI for intel processors
This commit is contained in:
parent
0c35ed7dcf
commit
47f0c7bf85
1 changed files with 1 additions and 1 deletions
|
@ -383,7 +383,6 @@ Building the program with BLAS support may lead to some performance improvements
|
|||
Check [BLIS.md](docs/BLIS.md) for more information.
|
||||
|
||||
- #### Intel oneMKL
|
||||
|
||||
- Using manual oneAPI installation:
|
||||
By default, `LLAMA_BLAS_VENDOR` is set to `Generic`, so if you already sourced intel environment script and assign `-DLLAMA_BLAS=ON` in cmake, the mkl version of Blas will automatically been selected. Otherwise please install oneAPI and follow the below steps:
|
||||
|
||||
|
@ -394,6 +393,7 @@ Building the program with BLAS support may lead to some performance improvements
|
|||
cmake .. -DLLAMA_BLAS=ON -DLLAMA_BLAS_VENDOR=Intel10_64lp -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx -DLLAMA_NATIVE=ON
|
||||
cmake --build . --config Release
|
||||
```
|
||||
|
||||
- Using oneAPI docker image:
|
||||
If you do not want to source the environment vars and install oneAPI manually, you can also build the code using intel docker container: [oneAPI container](https://hub.docker.com/r/intel/oneapi-runtime)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue