Skip to main content

try_normalized_program_cache_digest

Function try_normalized_program_cache_digest 

Source
pub fn try_normalized_program_cache_digest(
    program: &Program,
) -> Result<[u8; 32], String>
Expand description

Return the normalized program digest used by backend pipeline caches.

ยงErrors

Returns when the program contains an IR type or node shape that cannot be serialized into stable cache identity. Dispatch admission should surface the error rather than panic or generate a lossy cache key.