pub struct LinkedModule { /* private fields */ }Expand description
The output of a successful link operation.
Contains the compiled cubin binary blob and any log messages emitted by the JIT linker during compilation.
Implementations§
Source§impl LinkedModule
impl LinkedModule
Sourcepub fn cubin_size(&self) -> usize
pub fn cubin_size(&self) -> usize
Returns the size of the compiled cubin in bytes.
Sourcepub fn into_cubin(self) -> Vec<u8> ⓘ
pub fn into_cubin(self) -> Vec<u8> ⓘ
Consumes the linked module and returns the raw cubin data.
Trait Implementations§
Source§impl Clone for LinkedModule
impl Clone for LinkedModule
Source§fn clone(&self) -> LinkedModule
fn clone(&self) -> LinkedModule
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LinkedModule
impl RefUnwindSafe for LinkedModule
impl Send for LinkedModule
impl Sync for LinkedModule
impl Unpin for LinkedModule
impl UnsafeUnpin for LinkedModule
impl UnwindSafe for LinkedModule
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