Change current device to specified device. More...
Functions | |
| AFAPI void | deviceset (const int device) |
| Sets the current device. More... | |
| AFAPI void | setDevice (const int device) |
| Sets the current device. More... | |
| AFAPI af_err | af_set_device (const int device) |
| AFAPI af_err | af_get_device (int *device) |
Change current device to specified device.
These functions change the current device. Operations after this called will be performed on the set device.
| AFAPI void af::deviceset | ( | const int | device | ) |
Sets the current device.
| [in] | device | The ID of the target device |
| AFAPI void af::setDevice | ( | const int | device | ) |
Sets the current device.
| [in] | device | The ID of the target device |