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

Add more graphblas.update tests #265

Closed paul-tqh-nguyen closed 2 years ago

paul-tqh-nguyen commented 2 years ago

This commit also adds a test that currently fails.

    // COM: TODO This doesn't work yet.
    // COM: input -> output(mask) { accumulate_operator, replace }
    // COM: 
    // COM: CHECK:      Test 70
    // COM: CHECK-NEXT: [_, 8.8, _, 11, _, _, _, _, _, _]
    // COM: 
    // COM: graphblas.print %c0 { strings=["Test 7"] } : index
    // COM: %26 = graphblas.dup %v1 : tensor<?xf64, #CV64>
    // COM: graphblas.update %v2 -> %26(%mask) { accumulate_operator = "plus", replace = true } : tensor<?xf64, #CV64> -> tensor<?xf64, #CV64>(tensor<?xf64, #CV64>)
    // COM: graphblas.print %26 { strings=[] } : tensor<?xf64, #CV64>
coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 1680027968


Totals Coverage Status
Change from base Build 1594078109: 0.0%
Covered Lines: 4559
Relevant Lines: 5308

💛 - Coveralls