Skip to contents

Returns the precision mode strings advertised by the named backend. Valid values are "strict" (double precision) and "fast" (single/mixed precision).

Usage

amatrix_backend_precision_modes(name)

Arguments

name

Character string. Name of a registered backend.

Value

Character vector of precision mode identifiers, a subset of c("strict", "fast").

Examples

amatrix_backend_precision_modes("cpu")
#> [1] "strict" "fast"