Skip to content

CDLP optimizations #94

@szarnyasg

Description

@szarnyasg

While doing 51fd40f, I observed a few opportunities for optimizing the CDLP algorithm:

  • Document that the matrix changes through the execution (but its pattern stays the same)
  • Use a more efficient approach to sanitize (GrB_transpose/GrB_assign)
  • Use a more efficient approach for computing l = diag^{-1} (L), e.g. GrB_extractTuples

Additionally:

  • Add non-deterministic mode. In practice, this works just as well as the deterministic variant (which selects the "min mode" from the labels) but could faster. Update: It might even work better, see Non-deterministic CDLP algorithm #101.

Metadata

Metadata

Assignees

No one assigned

    Labels

    optimizationOptimization of existing algorithms

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions