deviceHasDouble: Check GPU double precision support

View source: R/wrappers-utils.R

deviceHasDoubleR 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


gpuR documentation built on May 29, 2024, 11:56 a.m.