Skip to content

Potential Issue: Atomic buffers not cleared between trials #13

@jayshah1819

Description

@jayshah1819

await primitive.execute({

This line is executed repeatedly when running multiple trials (params.trials > 1), but the underlying atomic buffers are not cleared. As a result, atomics may accumulate values, causing decreasing performance or incorrect results after several runs.

Image

I’ve attached a screenshot showing the atomic values of spineBuffer and scanBump over multiple trials for reference.

Possible solution: Clear atomic buffers after each trial

After clearing it :

Image

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