assert_has_double: Does device have 'double' support?

Description Usage Arguments Value Author(s) See Also

View source: R/asserts.R

Description

Function to query if device (identified by index) supports double precision

Usage

1
2
assert_has_double(device_idx, context_idx,
  severity = getOption("assertive.severity", "stop"))

Arguments

device_idx

An integer indicating which device to query

context_idx

An integer indicating which context to query

severity

How severe should the consequences of the assertion be?

Value

Returns nothing but throws an error if device does not support double precision

Author(s)

Charles Determan Jr.

See Also

deviceHasDouble


cdeterman/gpuR documentation built on July 13, 2019, 3:15 a.m.