Skip to content

Memory Consistency #2

@ganoam

Description

@ganoam

In the event of offloaded memory access instructions, there is currently no way to guarantee the order in which the operations are executed. At the moment, no ultimate solution exists in our design.
The fact that outstanding register file writebacks can be detected in the scoreboard of the offloading core provides some measure of control. However, it is not guaranteed that the accelerator will not make memory requests that do not impact the integer register file. To handle this case, we could implement a memory fence instruction, which would need to be sent to each accelerator that is capable of accessing memory.

This may prove to be a bit problematic, as there is no way to send one and the same instruction to multiple accelerators; Our offloading scheme allows only one type of accelerator to accept any one instruction.
In order to send the fence instruction to all accelerators, we would therefore need to define separate fence instructions for each eligible accelerator.

This issue is meant to collect and discuss ideas and ultimately decide on a course of action.

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