[][src]Function opencv::core::get_device

pub fn get_device() -> Result<i32>

Returns the current device index set by cuda::setDevice or initialized by default.