pub trait CacheReturn<P>: GraphReturnwhere
P: CacheType,{
// Required method
fn cache(&self) -> RefMut<'_, Cache<P>>;
}Expand description
This trait makes a device’s Cache accessible and is implemented for all compute devices.
pub trait CacheReturn<P>: GraphReturnwhere
P: CacheType,{
// Required method
fn cache(&self) -> RefMut<'_, Cache<P>>;
}This trait makes a device’s Cache accessible and is implemented for all compute devices.