Skip to content

questions about decl_buffer #585

@xqdan

Description

@xqdan

Hi all,

I noticed that in case test_schedule_tensorize.py, when modify offset_factor=16, to 7, a assert would come out,

assert((((j.outer*16384) % 7) == 0), "Argument W.elem_offset has an unsatisfied constraint")

In tutorial, it's said that, elem_offset is required to be multiple of offset_factor. looks like it's checking for this constraint here.
But why we need this constraint ?
What's the decl_buffer lower to , especially for the shape like (m,n) ?
Any differences between decl_buffer, vload, vstore, cache_read, cache_wirte, and double_buffer?

Thanks!

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