Skip to contents

Returns information about how the package was compiled, including SIMD and OpenMP support.

Usage

get_build_info()

Value

A named list containing:

  • openmp: Logical, whether OpenMP is enabled

  • openmp_max_threads: Integer, maximum number of OpenMP threads

  • simd: Character, SIMD instruction set being used

  • simd_width: Integer, number of floats processed per SIMD operation

  • profiling: Logical, whether profiling is enabled

  • arch: Character, CPU architecture

Examples

get_build_info()
#> $openmp
#> [1] TRUE
#> 
#> $openmp_max_threads
#> [1] 2
#> 
#> $simd
#> [1] "vectorclass (x86 AVX/SSE)"
#> 
#> $simd_width
#> [1] 8
#> 
#> $profiling
#> [1] FALSE
#> 
#> $arch
#> [1] "x86_64"
#>