Skip to content
Snippets Groups Projects
Commit 0ce8c20d authored by Simon Moll's avatar Simon Moll
Browse files

readme: broken pragma

parent bb36e2be
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ You'll get what you ordered.
### Usage
1. Annotate vectorizable loops with `#pragma clang vectorize(assume_safety) vectorize_width(W)` where W is the desired vectorization width.
1. Annotate vectorizable loops with `#pragma clang loop vectorize(assume_safety) vectorize_width(W)` where W is the desired vectorization width.
2. Invoke clang with `-Xclang -load -Xclang libRV.so -mllvm -rv-loopvec`. We recommend to also disable loop unrolling `-fno-unroll-loops`.
## Getting started on the code
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment