Skip to main content

flush_compile_error

Function flush_compile_error 

Source
pub fn flush_compile_error(
    client: &ComputeClient<TestRuntime>,
) -> Option<ExecutionOutcome>
Expand description

Flush client and surface any pending compile/launch failure as a ExecutionOutcome::CompileError.

Returns None when the flush is clean (the kernel ran). Other server errors are wrapped as CompileError so callers see one uniform shape.