Skip to content

Deterministic Neighbor Selection #3

Description

@Ebernn

In the original paper, cells neighbors are determined by a set of non-overlapping pairs of cells that is chosen at each simulation step. We don't do exactly the same, we choose the neighbor of each cell according to the last value on the tape instead:

else { neighbor = idx + 1u; }

The problem is that our currently implementation doesn't guarantee that two different cells won't choose the same cell as neighbor. This is a problem because two parallel threads might write into the same memory cell, leading to unexpected results.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions