CUDA - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : CUDA Package : CUDA/HasDoubleSupport

CUDA

  

HasDoubleSupport

  

check if double precision is supported

 

Calling Sequence

Parameters

Description

Examples

Compatibility

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.

Examples

Run these examples on a computer that supports CUDA.

CUDA:-Enabletrue

false

(1)

CUDA:-HasDoubleSupport

table0=true

(2)

CUDA:-HasDoubleSupportid=0

true

(3)

Compatibility

• 

The CUDA[HasDoubleSupport] command was introduced in Maple 15.

• 

For more information on Maple 15 changes, see Updates in Maple 15.

See Also

CUDA

CUDA[Enable]

Supported Hardware for CUDA Acceleration

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam