Return the index of current device
arrayfire_get_device()
the index of current device.
Get the index of current device which is lower or
equal to a value returned by arrayfire_count_device
.
http://arrayfire.org/docs/group__device__func__get.htm#ga4dfe3f90475b735384f8b28cf2b19a11