Thanks to visit codestin.com
Credit goes to docs.rs

init

Function init 

Source
pub fn init()
Expand description

Initialize ArrayFire library

0th device will be the default device unless init call is followed by set_device