pub struct CompiledModule {
pub source: String,
pub compiled: String,
pub target: String,
}Expand description
Compiled form of a TPTIR module produced by Device::load_module.
Holds the original source plus the compiler backend output so that
launch_kernel can dispatch against real, runnable code instead of an
empty entry_point string.
Fields§
§source: String§compiled: String§target: StringTrait Implementations§
Source§impl Clone for CompiledModule
impl Clone for CompiledModule
Auto Trait Implementations§
impl Freeze for CompiledModule
impl RefUnwindSafe for CompiledModule
impl Send for CompiledModule
impl Sync for CompiledModule
impl Unpin for CompiledModule
impl UnsafeUnpin for CompiledModule
impl UnwindSafe for CompiledModule
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