Skip to content

query a matrix, vector, or scalar if GrB_wait will do anything to it #75

Open
@DrTimothyAldenDavis

Description

@DrTimothyAldenDavis

RedisGraph requires a method to query a matrix, vector, or scalar to see if it has any pending operations. That is, it returns true

Roi (@swilly22) has one solution: DrTimothyAldenDavis/GraphBLAS#172 . This proposed method has signature (for the GrB_Matrix case):

GrB_Info GxB_Matrix_pending (GrB_Matrix A, bool *has_pending_operations) ;

An alternative would be to include this query in GrB_get, as the _Generic signature:

GrB_Info GrB_get (GrB_Matrix A, GrB_Something whatever, bool *has_pending_operations) ;

where "whatever" would be an enum value like "GrB_PENDING" or "GrB_WILL_WAIT" or whatever.

Any thoughts? Can you consider this for the v2.1 C API?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions