Skip to main content

validate_kernel

Function validate_kernel 

Source
pub fn validate_kernel(kernel: &Kernel) -> Result<(), CompileError>
Expand description

Validate and type-check a kernel definition.

ยงErrors

Returns CompileError if the kernel has type errors or undefined variables.