Function to query if device (identified by index) supports double precision
assert_has_double(
device_idx,
context_idx,
severity = getOption("assertive.severity", "stop")
)
Returns nothing but throws an error if device does not support double precision
An integer indicating which device to query
An integer indicating which context to query
How severe should the consequences of the assertion be?
Charles Determan Jr.
deviceHasDouble