Utility function to calculate a collection of scalar differences between two matrices (libxsmm_matdiff_info). The location (m, n) of the largest difference (linf_abs) is recorded (also if NaN). In case of NaN, differences are set to infinity. If no difference is discovered, the location (m, n) is negative (OOB). Implicit FORTRAN 77 interface: TYPE :: info INTEGER(4) :: datatype INTEGER(4|8) :: m, n, ldref, ldtst ARRAY :: ref, tst
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(LIBXSMM_MATDIFF_INFO), | intent(out) | :: | info | |||
integer(kind=C_INT), | intent(in) | :: | datatype | |||
integer(kind=LIBXSMM_BLASINT_KIND), | intent(in) | :: | m | |||
integer(kind=LIBXSMM_BLASINT_KIND), | intent(in), | optional | :: | n | ||
type(C_PTR), | intent(in), | optional | :: | ref | ||
type(C_PTR), | intent(in), | optional | :: | tst | ||
integer(kind=LIBXSMM_BLASINT_KIND), | intent(in), | optional | :: | ldref | ||
integer(kind=LIBXSMM_BLASINT_KIND), | intent(in), | optional | :: | ldtst |