Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python wip hacks #481

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Python wip hacks #481

wants to merge 4 commits into from

Conversation

nicolasvasilache
Copy link
Contributor

No description provided.

Currently produces.

```
TEST: tile_once
None
error: 'transform.with_pdl_patterns' op expects only pattern and top-level transform ops in its body
// Verification failed, printing generic form
"builtin.module"() ({
  "transform.with_pdl_patterns"() ({
  ^bb0(%arg0: !pdl.operation):
    "transform.structured.canonicalized_sequence"(%arg0) ({
    ^bb0(%arg1: !pdl.operation):
      %0 = "transform.pdl_match"(%arg1) {pattern_name = @foo} : (!pdl.operation) -> !pdl.operation
      %1:3 = "transform.structured.tile"(%0) {interchange = [], sizes = [32, 16]} : (!pdl.operation) -> (!pdl.operation, !pdl.operation, !pdl.operation)
      %2 = "transform.structured.pad"(%1#0) {hoist_paddings = [], pack_paddings = [], padding_dimensions = [], padding_values = [], transpose_paddings = []} : (!pdl.operation) -> !pdl.operation
      %3 = "transform.structured.vectorize"(%2) {vectorize_padding = true} : (!pdl.operation) -> !pdl.operation
      "transform.bufferize"() : () -> ()
      "transform.lower_vectors"() {contraction_lowering = "outerproduct", multireduction_lowering = "innerreduce", split_transfers = "linalg-copy", stages = [0, 1, 2, 3, 4, 5, 6], transpose_avx2_lowering = false, transpose_lowering = "eltwise", unroll_vector_transfers = true} : () -> ()
      "transform.lower_to_llvm"() {enable_amx = false, enable_arm_neon = false, enable_arm_sve = false, enable_async = false, enable_index_optimizations = false, enable_x86vector = false, reassociate_fp_reductions = false} : () -> ()
    }) : (!pdl.operation) -> ()
  }) : () -> ()
}) : () -> ()

error: unregistered operation 'transform.structured.pad' found in dialect ('transform') that does not allow unknown operations
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants