get the compute level of a CUDA-enabled device - Maple Help

Online Help

All Products    Maple    MapleSim


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

CUDA[ComputeLevel] - get the compute level of a CUDA-enabled device

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)

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