assert_has_double {gpuR} | R Documentation |
Does device have 'double' support?
Description
Function to query if device (identified by index) supports double precision
Usage
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
[Package gpuR version 2.0.6 Index]