set.thread.count: openMP Thread Count

set.thread.countR Documentation

openMP Thread Count

Description

This methods allows you to set the number of cores currently accessible to openMP

Usage

set.thread.count(thread_count)

Arguments

thread_count

number of OPENMP threads to be used

Value

No return, sets the number of cores available to openMP for C level parallelization.

Author(s)

Nicolas De Jay, Simon Papillon-Cavanagh, Benjamin Haibe-Kains

Examples

# Access to number of available threads
threads <- get.thread.count()
# Force a single threaded openMP job
set.thread.count(1)

# Revert back to all accessible threads
set.thread.count(threads)

mRMRe documentation built on April 25, 2023, 9:13 a.m.