Skip to content

Tensor/window Codegen always emits float *, which is incorrect for custom memories #742

@yamaguchi1024

Description

@yamaguchi1024
  • @instr(x : f32[...] @ AVX2) gets compiled into (..., float *x) instead of (..., __mm256 x)
  • _data is correct, but the vanilla {dst} dictionary's C string is incorrect. It uses float * (or sth like that) as a member of window struct, instead of the respective hw memory
  • Maybe we should make use of mem (not just prim_type and shape) in window codegen

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: CodegenThe final C code generationS: AvailableAvailable to be worked uponT: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions