use crate::prelude_dev::*;
pub trait DeviceIndexSelectAPI<T, D>
where
D: DimAPI + DimSmallerOneAPI,
D::SmallerOne: DimAPI,
Self: DeviceAPI<T> + DeviceRawAPI<MaybeUninit<T>>,
{
fn index_select(
&self,
c: &mut <Self as DeviceRawAPI<MaybeUninit<T>>>::Raw,
lc: &Layout<D>,
a: &<Self as DeviceRawAPI<T>>::Raw,
la: &Layout<D>,
axis: usize,
indices: &[usize],
) -> Result<()>;
}