Trait custos_math::custos::MainMemory
source · pub trait MainMemory: Device {
// Required methods
fn as_ptr<T, S>(ptr: &Self::Ptr<T, S>) -> *const T
where S: Shape;
fn as_ptr_mut<T, S>(ptr: &mut Self::Ptr<T, S>) -> *mut T
where S: Shape;
}