Learn R Programming

ggmlR (version 0.8.1)

ggml_set_omp_threads: Set OpenMP Thread Count

Description

Directly calls omp_set_num_threads() to limit OpenMP parallelism. Useful in tests to comply with CRAN policy on core usage.

Usage

ggml_set_omp_threads(n)

Value

NULL invisibly

Arguments

n

Number of threads