CUDA
HasDoubleSupport
check if double precision is supported
Calling Sequence
Parameters
Description
Examples
Compatibility
HasDoubleSupport( )
HasDoubleSupport( id=arg )
arg
-
integer; the number of the device for which you want to test
The HasDoubleSupport checks if a CUDA-enabled device supports double precision computation and returns true or false. Certain Maple routines require a CUDA-enabled device capable of double precision computation.
CUDA-enabled devices are enumerated so that each device is assigned a unique number. The id parameter allows you to select the device for which you want to view properties. If the id parameter is not specified, a table with the id as the index and true or false as the entry.
Run these examples on a computer that supports CUDA.
CUDA:-Enable⁡true
false
CUDA:-HasDoubleSupport⁡
table⁡0=true
CUDA:-HasDoubleSupport⁡id=0
true
The CUDA[HasDoubleSupport] command was introduced in Maple 15.
For more information on Maple 15 changes, see Updates in Maple 15.
See Also
CUDA[Enable]
Supported Hardware for CUDA Acceleration
Download Help Document