CUDA[HasDoubleSupport] - check if double precision is supported
|
Calling Sequence
|
|
HasDoubleSupport( )
HasDoubleSupport( id=arg )
|
|
Parameters
|
|
arg
|
-
|
integer; the number of the device for which you want to test
|
|
|
|
|
Description
|
|
•
|
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.
|
|
|
Compatibility
|
|
•
|
The CUDA[HasDoubleSupport] command was introduced in Maple 15.
|
|
|
Examples
|
|
Run these examples on a computer that supports CUDA.
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
|
|
Download Help Document
Was this information helpful?