pub trait CacheReturn: GraphReturn {
    type CT;

    // Required method
    fn cache(&self) -> RefMut<'_, Cache<Self>>
       where Self: RawConv;
}
Expand description

This trait makes a device’s Cache accessible and is implemented for all compute devices.

Required Associated Types§

Required Methods§

source

fn cache(&self) -> RefMut<'_, Cache<Self>>where Self: RawConv,

Returns a device specific Cache.

Implementors§