def set_device(num):
    safe_call(backend.get().af_set_device(num))
Called when multiple windows are merged.
dataset/ETHPy150Open arrayfire/arrayfire-python/arrayfire/device.py/set_device--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/DataflowPythonSDK/google/cloud/dataflow/transforms/trigger.py/TriggerFn.on_merge