AFAPI void | info () |
Print diagnostic information on driver, runtime, memory, and devices. | |
AFAPI void | deviceset (int index) |
Switch to specified device. | |
AFAPI int | deviceget () |
Return the index of current device. | |
AFAPI int | devicecount () |
Returns the number of available devices. |
AFAPI void af::info | ( | ) |
Print diagnostic information on driver, runtime, memory, and devices.
AFAPI void af::deviceset | ( | int | index | ) |
Switch to specified device.
Requires ArrayFire Pro to index beyond first device.
[in] | index | Index of device to select. |
AFAPI int af::deviceget | ( | ) |
Return the index of current device.
AFAPI int af::devicecount | ( | ) |
Returns the number of available devices.