Skip to content

Hbmpim dialect #10

@h4midf

Description

@h4midf

Structure of the system:
Although the simulator is configurable, we will stick to Samsung's hbmpim paper parameters. With that said, in a single call to the device, a maximum of 16 banks, 64 channels, 1 rank, and 8 GRF can be configured.

cnm.workgroup { cnm.physical_dims = ["banks", "channels", "ranks", "grf"] } : !cnm.workgroup<16x64x1x8>

At the moment, the simulator implements different APIs for writing the data to the device for different operations. For example, preloadNoReplacement and preloadGemv function calls are used for elementWiseOperations and GEMV kernels. Because of this, the cnm.scatter is not directly lowered in the conversion pass; instead, depending on the operation in the launch block, the respective function is created.
Also, for all of this to work, we should limit the launch block to only a single operation.

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