Skip to content

Optimizations and Corrections #57

Open

Description

@JoelMathewC

(CORRECTION) GPMA Node labelling should start from 1

The node labelling in GPMA should start from 1, the reason is because when GPMA is initialized by default a sentinel value is inserted for every node. That sentinel value is (src,0) as a 64-bit element.

  1. This means that if GPMA row offset does not ignore the sentinal we will have random edges to 0 when it is not actually present.
  2. This means that if GPMA row offset does ignore the sentinel then nodes who actually have edges with 0 are having those edges ignored.

We will probably have to perform a relabelling in preprocessing or find a better way to deal with this.

CORRECTION (CLOSED)

  1. The sentient value is actually (src,0xFFFFFFFF) and hence we don't really have to worry about node id 0 being ignored.

HENCE NO CHANGE IS REQUIRED

Activity

  1. changed the title [-]GPMA Node labelling should start from 1[/-] on Jun 4, 2023
  2. JoelMathewC commented on Jun 4, 2023

    @JoelMathewC
    ContributorAuthor

    (OPTIMIZATION) Coalesced memory access in GPMA

    Since there are spaces in GPMA we are not benefiting from the coalesced memory access and hence we can maybe benefit from moving to shared memory as shown here: https://www.tutorialspoint.com/cuda/cuda_memory_considerations.htm

  3. JoelMathewC commented on Jun 5, 2023

    @JoelMathewC
    ContributorAuthor

    (UNDERSTANDING) Edge Parallelism or Node Parallelism

    Is edge or node parallelism better for the count_sort portion of building the reverse graph.

  4. JoelMathewC commented on Jun 6, 2023

    @JoelMathewC
    ContributorAuthor

    (CORRECTION) Evaluation support

    We will need to think about how seastar can be used for evaluation. So no backdrop

    1. We can disable the state stack and the timestamp stack
    2. We would need the base forward graph to be cached. GPMA at the moment does not use cacheing since the backward prop brings the graph back to its original state. So we will have the introduce cacheing and test the validity of deepcopy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions