Learn R Programming

RandomFieldsUtils (version 1.2.5)

Instruction Set: CPU instruction set

Description

The function checks whether a certain instruction is used (missed) under the current compilation of a package.

Usage

uses.simd.instruction(which=NULL, pkgs=NULL)
misses.simd.instruction(which=NULL, pkgs=NULL)

Arguments

which

character vector with values in "SSE2", "SSSE3", "AVX", "AVX2", "CUDA"

pkgs

character vector or missing.

Value

logical vector of length which or matrix with number of rows equal to the length of which. An element is TRUE if the instruction set is used (missed) by the package.

If an arguments is NULL all available information is given.

Examples

Run this code
# NOT RUN {
 
# }
# NOT RUN {
<!-- %    library(RandomFieldsUtils) -->
# }
# NOT RUN {
  uses.simd.instruction()
  misses.simd.instruction()
# }

Run the code above in your browser using DataLab