Skip to content

Commit

Permalink
expose RawKernel
Browse files Browse the repository at this point in the history
  • Loading branch information
shiinamiyuki committed Oct 3, 2023
1 parent e89457b commit 1c35b28
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions luisa_compute/src/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1373,6 +1373,10 @@ impl<T: KernelSignature> Kernel<T> {
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<T: KernelArg>: KernelArg {}
Expand Down

0 comments on commit 1c35b28

Please sign in to comment.