Skip to contents

Lists the OpenCL devices the suggested OpenCL package can reach and whether each supports double precision (cl_khr_fp64), which the GPU solvers need unless they run in single precision.

Usage

rxGpuInfo()

Value

list with available (the OpenCL package is installed and rxode2 found the OpenCL library), fp64 (some device has double precision) and devices, a data frame with one row per device: its index, platform, device name, type ("gpu", "cpu" or "other") and fp64.

Author

Matthew L. Fidler

Examples

rxGpuInfo()$available
#> [1] FALSE