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.
|
|
|
Compatibility
|
|
•
|
The CUDA[ComputeLevel] 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?