Return the index of current device

arrayfire_get_device()

Value

the index of current device.

Details

Get the index of current device which is lower or equal to a value returned by arrayfire_count_device.

References

http://arrayfire.org/docs/group__device__func__get.htm#ga4dfe3f90475b735384f8b28cf2b19a11