Skip to main content

unsupported_reason

Function unsupported_reason 

Source
pub fn unsupported_reason(program: &CompiledProgram) -> Option<&'static str>
Expand description

Returns Some(reason) if program uses an op with no home in a memory device — concurrency (a DRAM has no thread scheduler) or networking (host-only IO). Shares the offload classifier with the other single-device tiers so they cannot drift.