Properties - Maple Help

CUDA

 Properties
 view the properties of CUDA(R)-enabled hardware devices

 Calling Sequence Properties( ) Properties( id=arg )

Parameters

 arg - ( integer ) the number of the device for which you want to view properties

Description

 • The Properties function displays information about the Compute Unified  Device Architecture (CUDA)-enabled hardware devices available on your computer. A table containing properties and their corresponding values is displayed for the device that you specify.
 • 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 list of tables (one for each device available on your computer) is displayed.

Examples

Run these examples on a computer that supports CUDA.

 > $\mathrm{CUDA}:-\mathrm{Enable}\left(\mathrm{true}\right)$
 ${\mathrm{false}}$ (1)
 > $\mathrm{CUDA}:-\mathrm{Properties}\left(\right)$
 $\left[{\mathrm{table}}{}\left(\left[{"Max Grid Size"}{=}\left[{65535}{,}{65535}{,}{1}\right]{,}{"Minor"}{=}{3}{,}{"Max Threads Per Block"}{=}{512}{,}{"Resisters Per Block"}{=}{16384}{,}{"Major"}{=}{1}{,}{"Device Overlap"}{=}{1}{,}{"Clock Rate"}{=}{1296000}{,}{"MultiProcessor Count"}{=}{30}{,}{"Kernel Exec Timeout Enabled"}{=}{\mathrm{false}}{,}{"Texture Alignment"}{=}{256}{,}{"Shared Memory Per Block"}{=}{16384}{,}{"Name"}{=}{"Quadro FX 5800"}{,}{"Total Global Memory"}{=}{4294639616}{,}{"ID"}{=}{0}{,}{"Total Constant Memory"}{=}{65536}{,}{"Memory Pitch"}{=}{262144}{,}{"Max Threads Dimensions"}{=}\left[{512}{,}{512}{,}{64}\right]{,}{"Warp Size"}{=}{32}\right]\right)\right]$ (2)
 > $\mathrm{CUDA}:-\mathrm{Properties}\left(\mathrm{id}=0\right)$
 ${\mathrm{table}}{}\left(\left[{"Max Grid Size"}{=}\left[{65535}{,}{65535}{,}{1}\right]{,}{"Minor"}{=}{3}{,}{"Max Threads Per Block"}{=}{512}{,}{"Resisters Per Block"}{=}{16384}{,}{"Major"}{=}{1}{,}{"Device Overlap"}{=}{1}{,}{"Clock Rate"}{=}{1296000}{,}{"MultiProcessor Count"}{=}{30}{,}{"Kernel Exec Timeout Enabled"}{=}{\mathrm{false}}{,}{"Texture Alignment"}{=}{256}{,}{"Shared Memory Per Block"}{=}{16384}{,}{"Name"}{=}{"Quadro FX 5800"}{,}{"Total Global Memory"}{=}{4294639616}{,}{"ID"}{=}{0}{,}{"Total Constant Memory"}{=}{65536}{,}{"Memory Pitch"}{=}{262144}{,}{"Max Threads Dimensions"}{=}\left[{512}{,}{512}{,}{64}\right]{,}{"Warp Size"}{=}{32}\right]\right)$ (3)