pub struct EmbeddedCubin {
pub arch: ComputeCapability,
pub bytes: &'static [u8],
}Expand description
One embedded binary, available only alongside its source PTX variant
Fields§
§arch: ComputeCapabilityThe exact device capability the binary was assembled for
bytes: &'static [u8]The cubin bytes
Implementations§
Source§impl EmbeddedCubin
impl EmbeddedCubin
Sourcepub fn sha256(self) -> ArtifactHash
pub fn sha256(self) -> ArtifactHash
Content hash, cached per embedded slice
Trait Implementations§
Source§impl Clone for EmbeddedCubin
impl Clone for EmbeddedCubin
impl Copy for EmbeddedCubin
Auto Trait Implementations§
impl Freeze for EmbeddedCubin
impl RefUnwindSafe for EmbeddedCubin
impl Send for EmbeddedCubin
impl Sync for EmbeddedCubin
impl Unpin for EmbeddedCubin
impl UnsafeUnpin for EmbeddedCubin
impl UnwindSafe for EmbeddedCubin
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