Method

NumCosmoMathFitMCset_use_threads

Declaration [src]

void
ncm_fit_mc_set_use_threads (
  NcmFitMC* mc,
  gboolean use_threads
)

Description [src]

Sets whether mc should run its Monte Carlo loop through the OpenMP parallel code path. The real number of threads used is controlled by the ambient OpenMP runtime state (the OMP_NUM_THREADS environment variable or an explicit omp_set_num_threads() call), not by this property.

Parameters

use_threads

Type: gboolean

Whether to use OpenMP threads.