You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: man/openmp-utils.Rd
+23Lines changed: 23 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,8 +38,31 @@
38
38
39
39
\itemize{
40
40
\item\file{between.c} - \code{\link{between}()}
41
+
42
+
Parallelism is used here to speed up range checks that are performed over the elements of the supplied vector. OpenMP is used here to parallelize:
43
+
\itemize{
44
+
\item The loops that check if each element of the vector provided is between the specified \code{lower} and \code{upper} bounds, for integer (\code{INTSXP}) and real (\code{REALSXP}) types
45
+
\item Checking and handling of undefined values (such as NaNs)
46
+
}
47
+
41
48
\item\file{cj.c} - \code{\link{CJ}()}
49
+
50
+
Parallelism is used here to speed up the creation of all combinations of the input vectors over the cross-product space. Better speedup can be expected when dealing with large vectors or a multitude of combinations. OpenMP is used here to parallelize:
51
+
52
+
\itemize{
53
+
\item Element assignment in vectors
54
+
\item Memory copying operations (blockwise replication of data using \code{memcpy})
Parallelism is used here to reduce the time taken to replace NA values with the first non-NA value from other vectors. Operates over the columns provided. OpenMP is used here to parallelize:
60
+
\itemize{
61
+
\item The operation that iterates over the rows to coalesce the data (which can be of type integer, real, or complex)
62
+
\item The replacement of NAs with non-NA values from subsequent vectors
63
+
\item The conditional checks within parallelized loops
64
+
}
65
+
43
66
\item\file{fifelse.c} - \code{\link{fifelse}()}
44
67
\item\file{fread.c} - \code{\link{fread}()}
45
68
\item\file{forder.c}, \file{fsort.c}, and \file{reorder.c} - \code{\link{forder}()} and related
0 commit comments