deviceHasDouble {gpuR}R Documentation

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()
)

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


[Package gpuR version 2.0.6 Index]