diff --git a/luisa_compute/src/runtime.rs b/luisa_compute/src/runtime.rs index c8f1491..68d9810 100644 --- a/luisa_compute/src/runtime.rs +++ b/luisa_compute/src/runtime.rs @@ -1373,6 +1373,10 @@ impl Kernel { pub fn dump(&self) -> String { ir::debug::dump_ir_human_readable(&self.inner.module.module) } + #[doc(hidden)] + pub fn raw(&self) -> &RawKernel { + &self.inner + } } pub trait AsKernelArg: KernelArg {}