Skip to content

runtime/src/iree/hal/local/elf/testdata/elementwise_mul.mlir failed to compile #15486

Open

Description

@hcindyl

What happened?

./runtime/src/iree/hal/local/elf/testdata/generate.sh 
Updating .../runtime/src/iree/hal/local/elf/testdata/elementwise_mul_arm_32.so
.../runtime/src/iree/hal/local/elf/testdata/elementwise_mul.mlir:46:130: error: expected non-function type
      %lhs = hal.interface.binding.subspan set(0) binding(0) type(storage_buffer) alignment(32) : !flow.dispatch.tensor<readonly:4xf32>
                                                                                                                                 ^

Steps to reproduce your issue

See above snippet

What component(s) does this issue relate to?

MLIR, Compiler

Version information

built at a4b8ccbe1

Additional context

No response

Activity

  1. added
    bug 🐞
    on Nov 8, 2023
  2. hcindyl commented on Nov 8, 2023

    @hcindyl
    ContributorAuthor

    Following other reference of flow.dispatch.tensor syntax to change !flow.dispatch.tensor<readonly: 4xf32> to !flow.dispatch.tensor<readonly:tensor<4xf32>> and the compile failed with another error

    .../runtime/src/iree/hal/local/elf/testdata/elementwise_mul.mlir:39:3: error: 'hal.executable.export' op unexpected empty workgroup count region
      hal.executable.export public @elementwise_mul ordinal(0) layout(#pipeline_layout)
      ^
    

    https://gist.github.com/hcindyl/3d3a07fe6164c82a64766215b8c1eb21

  3. added
    compiler/dialects
    on Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug 🐞compiler/dialects

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions