pub struct KernelEntry {
pub owner: InstanceId,
pub entry: String,
pub ptx_bytes_len: usize,
}Expand description
Metadata about a single compiled kernel. The actual compiled module is held opaquely behind a feature gate — on non-CUDA builds the field is absent so the registry can still be exercised by tests.
Fields§
§owner: InstanceIdOwning instance (used to authorise launch calls).
entry: StringEntry-point symbol name inside the PTX module.
ptx_bytes_len: usizeSize of the PTX source that produced this kernel (bytes).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KernelEntry
impl RefUnwindSafe for KernelEntry
impl Send for KernelEntry
impl Sync for KernelEntry
impl Unpin for KernelEntry
impl UnsafeUnpin for KernelEntry
impl UnwindSafe for KernelEntry
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more