Switch to specified device

arrayfire_set_device(index)

Arguments

index

the index of a device switched to.

Details

Available indices can be obtained by calling arrayfire_count_device.

References

http://arrayfire.org/docs/group__device__func__set.htm#gafbb906ca5b89ec43fdb0e3a14d1df1e7