metagraph-dev / mlir-graphblas

MLIR tools and dialect for GraphBLAS
https://mlir-graphblas.readthedocs.io/en/latest/
Apache License 2.0
15 stars 6 forks source link

Intermittent failure of graphblas.print #236

Open jim22k opened 2 years ago

jim22k commented 2 years ago

FileCheck is failing print.mlir intermittently. I've seen it 3 times so far (out of probably 25 times running the test suite). In all cases, the last zero is very close to zero, but not an exact match.

Command Output (stderr):
--
/Users/jkitchen/Projects/HIVE/mlir-graphblas/mlir_graphblas/src/test/GraphBLAS/print.mlir:42:12: error: CHECK: expected string not found in input
 // CHECK: vec [_, 10, 20, _]
           ^
<stdin>:4:19: note: scanning from here
vec [0, 10, 20, 0]
                  ^
<stdin>:5:1: note: possible intended match here
vec [_, 10, 20, 1.08694e-322]
^
paul-tqh-nguyen commented 2 years ago

Work in https://github.com/metagraph-dev/mlir-graphblas/pull/243 has shown that this bug happens with vectors like [_, 10, 20, _] but magically does not with vectors like [_, 10, _, 20]. Perhaps it has something to do with the trailing missing value?