Skip to content
Snippets Groups Projects
Commit 5b297b29 authored by Vasileios Karakasis's avatar Vasileios Karakasis Committed by Sam Yates
Browse files

Updated Readme (#226)

* Update `README.md` to reflect the CMake options for vectorization.
parent aa36e317
No related branches found
No related tags found
No related merge requests found
......@@ -143,7 +143,7 @@ cd build_knl
# run cmake with all the magic flags
export CC=`which icc`
export CXX=`which icpc`
cmake <path to CMakeLists.txt> -DCMAKE_BUILD_TYPE=release -DNMC_THREADING_MODEL=tbb -DNMC_WITH_PROFILING=ON -DNMC_VECTORIZE_TARGET=KNL -DNMC_USE_OPTIMIZED_KERNELS=ON
cmake <path to CMakeLists.txt> -DCMAKE_BUILD_TYPE=release -DNMC_THREADING_MODEL=tbb -DNMC_WITH_PROFILING=ON -DNMC_VECTORIZE_TARGET=KNL
make -j
```
......@@ -154,8 +154,8 @@ The flags passed into cmake are described:
- `-DNMC_VECTORIZE_TARGET=KNL` : generate AVX512 instructions, alternatively you can use:
- `AVX2` for Haswell & Broadwell
- `AVX` for Sandy Bridge and Ivy Bridge
- `-DNMC_USE_OPTIMIZED_KERNELS=ON` : tell the source to source compiler to generate optimized kernels that use Intel extensions
- without these vectorized code will not be generated.
Currently, the Intel compiler is required when you specify a vectorize target.
#### run tests
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment