pub unsafe extern "C" fn mlirMemRefTypeGetStridesAndOffset(
type_: MlirType,
strides: *mut i64,
offset: *mut i64,
) -> MlirLogicalResult
Expand description
Returns the strides of the MemRef if the layout map is in strided form. Both strides and offset are out params. strides must point to pre-allocated memory of length equal to the rank of the memref.