ComputeLevel - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : CUDA Package : ComputeLevel

CUDA

  

ComputeLevel

  

get the compute level of a CUDA-enabled device

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

ComputeLevel( )

ComputeLevel( id=arg )

Parameters

arg

-

integer; the number of the device for which you want to test

Description

• 

The ComputeLevel returns the compute level of CUDA-enabled devices.  The compute level of a CUDA-enabled device indicates the capabilities of the hardware.

• 

CUDA-enabled devices are enumerated so that each device is assigned a unique number. The id parameter allows you to select the device whose compute level should be returned. If the id parameter is not specified, a table with the id as the index and the compute level as the entry.

Examples

Run these examples on a computer that supports CUDA.

CUDA:-Enabletrue

false

(1)

CUDA:-ComputeLevel

table0=1.3

(2)

CUDA:-ComputeLevelid=0

1.3

(3)

Compatibility

• 

The CUDA[ComputeLevel] 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