Skip to content
ArrayFire documentation
Toggle navigation menu
⌘
K
ArrayFire documentation
/
set_device
set_device
arrayfire_wrapper.lib.
set_device
(
device_id
:
int
,
/
)
→
None
Change the active device to the specified id.
Parameters
num: int.
id of the desired device.