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

Remove requirement for binary operators to have consistent input and output dtypes #256

Open jim22k opened 2 years ago

jim22k commented 2 years ago

When we first implemented matrix_multiply, we put in the restriction that argA, argB, and outputC must all have the same dtype. That works for many semirings, but leaves out things like land_gt, any_overlapi, etc. We should remove this restriction.

A good test for this is making BFS a float64 input, but return int64 parent and levels vectors.