check if double precision is supported
HasDoubleSupport( id=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.
The CUDA[HasDoubleSupport] command was introduced in Maple 15.
For more information on Maple 15 changes, see Updates in Maple 15.
Supported Hardware for CUDA Acceleration
Download Help Document
What kind of issue would you like to report? (Optional)
Thank you for submitting feedback on this help document. Your feedback will be used
to improve Maple's help in the future.