Method

NumCosmoMathFitESMCMCset_use_threads

Declaration [src]

void
ncm_fit_esmcmc_set_use_threads (
  NcmFitESMCMC* esmcmc,
  gboolean use_threads
)

Description [src]

Sets whether esmcmc should run its walker-evaluation 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.