Skip to content
This repository was archived by the owner on Oct 13, 2025. It is now read-only.
This repository was archived by the owner on Oct 13, 2025. It is now read-only.

Question on Register Allocation for Large Convolution Layers in PUMA Compiler #9

Description

@EVA113x
Image

Hi PUMA Team,

While compiling a model with large convolution layers, I encountered register-allocation errors. From the debug logs, it appears the allocator may be killing a live register that is still in use. In addition, the allocator seems to require a contiguous memory segment for registers, but the effective register file size is limited to N_INPUT_REGISTERS + N_OUTPUT_REGISTERS. Under these conditions, the allocation frequently exceeds the limit.

Could you confirm whether this behavior is expected, or if there have been recent updates to the register allocator? It would also help to know if there is a recommended workaround or configuration for large conv layers.

Looking forward to your reply.

Best regards,
H. Wu

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