Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

imager (version 0.31)

cimg.use.openmp: Control CImg's parallelisation

Description

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

Usage

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)

Examples

Run this code
cimg.use.openmp("never") #turn off parallelisation

Run the code above in your browser using DataLab