Skip to main content

MslComputeKernel

Type Alias MslComputeKernel 

Source
pub type MslComputeKernel = ComputeKernel;

Aliased Type§

pub struct MslComputeKernel {
    pub shared_memory_size: usize,
    pub buffers: Vec<Visibility>,
    pub io: Vec<BufferIOAttr>,
    pub source: String,
}

Fields§

§shared_memory_size: usize§buffers: Vec<Visibility>§io: Vec<BufferIOAttr>

What the kernel does with each buffer binding, by buffer position — the four-state answer the launch path’s taint bookkeeping consumes. Unlike buffers this is never widened or collapsed.

§source: String

The emitted source, rendered once during compile_ir where emission errors can still fail the compilation.