deviceHasDouble: Check GPU double precision support

Description Usage Arguments Value See Also

View source: R/wrappers-utils.R

Description

This function checks the GPU device extensions for the variable cl_khr_fp64 which means the device supports double precision.

Usage

1
2
deviceHasDouble(gpu_idx = currentDevice()$device_index,
  context_idx = currentContext())

Arguments

gpu_idx

An integer value indicating which gpu to query.

context_idx

An integer value indicating which context to query.

Value

A boolean designating whether the device supports double precision

See Also

gpuInfo


gpuR documentation built on May 30, 2019, 1:02 a.m.