pub enum KernargClass {
Null,
SoftGpu {
alloc_id: Option<u64>,
addr: u64,
},
ForeignOpaque {
addr: u64,
},
}Expand description
How SoftGPU classifies a kernarg pointer without claiming contents.
Variants§
Null
SoftGpu
SoftGPU-tracked allocation (alloc_id when known).
ForeignOpaque
Non-null pointer SoftGPU does not own — opaque for replay.
Trait Implementations§
Source§impl Clone for KernargClass
impl Clone for KernargClass
Source§fn clone(&self) -> KernargClass
fn clone(&self) -> KernargClass
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KernargClass
impl Debug for KernargClass
impl Eq for KernargClass
Source§impl PartialEq for KernargClass
impl PartialEq for KernargClass
impl StructuralPartialEq for KernargClass
Auto Trait Implementations§
impl Freeze for KernargClass
impl RefUnwindSafe for KernargClass
impl Send for KernargClass
impl Sync for KernargClass
impl Unpin for KernargClass
impl UnsafeUnpin for KernargClass
impl UnwindSafe for KernargClass
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