Skip to main content

tensor_error

Function tensor_error 

Source
pub fn tensor_error() -> u64
Expand description

Read the tensor co-processor error status register.

Returns 0 when no error has occurred since the last reset. A non-zero value encodes the error class in bits defined by PRM Table 9-3. Call after tensor_wait to check for co-processor faults. Prefer check_tensor_error to obtain a typed result.