Function arrayfire::set_device [] [src]

pub fn set_device(device: i32)

Set active device

Parameters

  • device is the value of the device identifier which has to be set as active