CacheReturn

Trait CacheReturn 

Source
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§