Skip to content

Commit 38d0068

Browse files
committed
note on grain size
1 parent 9e7cdda commit 38d0068

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/presentations/rcpp_parallel_talk_jan2015.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ class SumWorker : public RcppParallel::Worker
220220
* Developers just write pieces of code that are called at the correct time by an intelligent parallel supervisor
221221
* In most cases no locking or explicit thread management required!
222222
* Supervisor does some intelligent optimization around:
223-
- Grain size (data/cache locality)
223+
- Grain size (which affects locality of reference and therefore cache hit rates). Note that grain size can also be tuned directly per-application.
224224
- Work stealing (detecting idle threads and pushing work to them)
225225
* In the case of TBB, high performance concurrent containers are available if necessary
226226

0 commit comments

Comments
 (0)