Skip to content

Commit 322345f

Browse files
committed
USE_TBB -> USE_SIMD
1 parent 88abf03 commit 322345f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/boost-simd-abssum.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ microbenchmark(
4646
R = sum(abs(x)),
4747
simd = simd_abssum(x)
4848
)
49-
*/
49+
*/

examples/simd-operations.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,10 @@ Note that if you conditionally compile all uses of Boost.SIMD within your packag
160160
161161
If you don't want to use Boost.SIMD at all you can explicitly disable it as follows:
162162
163-
1. For `sourceCpp` you can define `RCPP_PARALLEL_USE_TBB`:
163+
1. For `sourceCpp` you can define `RCPP_PARALLEL_USE_SIMD`:
164164
165165
```cpp
166-
#define RCPP_PARALLEL_USE_TBB 0
166+
#define RCPP_PARALLEL_USE_SIMD 0
167167
```
168168
169169
2. For R packages you can pass `simd = FALSE` to the CxxFlags function:

0 commit comments

Comments
 (0)