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.