pub enum MemLocation {
KeepInPlace,
AllocOnDevice,
CopyToDevice,
ForceCopyToDevice,
}Expand description
The enumeration of how memory allocation (or not) can be directed.
This forum post has some good explanations: https://software.intel.com/en-us/forums/opencl/topic/708049
Variants§
Auto Trait Implementations§
impl Freeze for MemLocation
impl RefUnwindSafe for MemLocation
impl Send for MemLocation
impl Sync for MemLocation
impl Unpin for MemLocation
impl UnsafeUnpin for MemLocation
impl UnwindSafe for MemLocation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more