Learn R Programming

gpuR (version 2.0.6)

deviceHasDouble: Check GPU double precision support

Description

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

Usage

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

Value

A boolean designating whether the device supports double precision

Arguments

gpu_idx

An integer value indicating which gpu to query.

context_idx

An integer value indicating which context to query.

See Also

gpuInfo