Skip to main content

roll

Function roll 

Source
pub fn roll(
    inputs: &[Arc<RwLock<Storage>>],
    outputs: &mut [Arc<RwLock<Storage>>],
    layouts: &[Layout],
    params: &OpParams,
) -> Result<()>
Expand description

roll kernel-binding wrapper: takes the executor’s inputs, outputs, layouts and OpParams and runs the Vulkan kernel for that op and dtype.