Skip to main content

is_offload_kernel

Function is_offload_kernel 

Source
pub fn is_offload_kernel(attrs: &CodegenFnAttrs) -> bool
Expand description

Offload kernels need custom v0 symbol treatment because the host and device compilation passes run with different stable_crate_ids so they cannot rely on the regular export-hash path.