ArrayFire: getDeviceCount (original) (raw)
Gets the number of compute devices on the system. More...
| Functions | |
|---|---|
| AFAPI int | devicecount () |
| AFAPI int | getDeviceCount () |
| Gets the number of devices. More... | |
| AFAPI af_err | af_get_device_count (int *num_of_devices) |
Gets the number of compute devices on the system.
Get the number of devices available for the current backend
◆ af_get_device_count()
| AFAPI af_err af_get_device_count | ( | int * | num_of_devices | ) |
|---|
◆ devicecount()
| AFAPI int devicecount | ( | ) |
|---|
Gets the number of devices.
Gets the number of compute devices on the system.
Get the number of devices available for the current backend
Returns
the number of devices on the system
Use getDeviceCount() instead
| AFAPI int getDeviceCount | ( | ) |
|---|
Gets the number of devices.
Gets the number of compute devices on the system.
Get the number of devices available for the current backend
Returns
the number of devices on the system