cimg.use.openmp: Control CImg's parallelisation

Description Usage Arguments Value Author(s) Examples

View source: R/utils.R

Description

On supported architectures CImg can parallelise many operations using OpenMP. Use this function to turn parallelisation on or off.

Usage

1
cimg.use.openmp(mode = "adaptive")

Arguments

mode

Either "adaptive","always" or "none". The default is adaptive (parallelisation for large images only).

Value

NULL (function is used for side effects)

Author(s)

Simon Barthelme

Examples

1
cimg.use.openmp("never") #turn off parallelisation

imager documentation built on May 19, 2017, 7:04 p.m.

Search within the imager package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.