ggml_set_omp_threads: Set OpenMP Thread Count

View source: R/threading.R

ggml_set_omp_threadsR Documentation

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)

Arguments

n

Number of threads

Value

NULL invisibly


ggmlR documentation built on July 14, 2026, 1:08 a.m.