CUDA
ComputeLevel
get the compute level of a CUDA-enabled device
Calling Sequence
Parameters
Description
Examples
Compatibility
ComputeLevel( )
ComputeLevel( id=arg )
arg
-
integer; the number of the device for which you want to test
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.
Run these examples on a computer that supports CUDA.
CUDA:-Enable⁡true
false
CUDA:-ComputeLevel⁡
table⁡0=1.3
CUDA:-ComputeLevel⁡id=0
1.3
The CUDA[ComputeLevel] command was introduced in Maple 15.
For more information on Maple 15 changes, see Updates in Maple 15.
See Also
CUDA[Enable]
Supported Hardware for CUDA Acceleration
Download Help Document