Skip to content

Commit fe2fad5

Browse files
committed
Wrote about use of OpenMP in parallelization for types.c (fun to recall schedule(dynamic) collapse(2))
1 parent f9e29d5 commit fe2fad5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

man/openmp-utils.Rd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,12 @@
7474
\item\file{gsumm.c} - GForce in various places, see \link{GForce}
7575
\item\file{nafill.c} - \code{\link{nafill}()}
7676
77-
Parallelism is used here for faster filling of missing values. OpenMP is being used here to parallelize the loop that achieves the same, over columns of the input data. This includes handling different data types (double, integer, and integer64) and applying the designated filling method (constant, last observation carried forward, or next observation carried backward) to each column in parallel.
77+
Parallelism is used here for faster filling of missing values. OpenMP is being used here to parallelize the loop that achieves the same, over columns of the input data. This includes handling different data types (double, integer, and integer64) and applying the designated filling method (constant, last observation carried forward, or next observation carried backward) to each column in parallel.()
7878
7979
\item\file{subset.c} - Used in \code{\link[=data.table]{[.data.table}} subsetting
8080
\item\file{types.c} - Internal testing usage
81+
82+
Parallelism is being used here for enhancing the performance of internal tests (not impacting any user-facing operations or functions). OpenMP is being used here to test a message printing function inside a nested loop which has been collapsed into a single loop of the combined iteration space using \code{collapse(2)}, along with specification of dynamic scheduling for distributing the iterations in a way that can balance the workload among the threads.
8183
}
8284
}
8385
\examples{

0 commit comments

Comments
 (0)