Same as std::vec::Vec but using device allocators rather than host allocators.
This allows you to have owned buffers on GPUs and CPUs using a single data structure.
Represents a type that can be ‘viewed’ (derefed).
Mimics the impl for std::ops::Deref but makes use of GAT’s in order
to provide non & refs. Useful for things like tensor views.
Represents a type that can be mutably ‘viewed’ (derefed).
Mimics the impl for std::ops::DerefMut but makes use of GAT’s in order
to provide non &mut refs. Useful for things like tensor views.