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

Test tiling dependent statements in PLUTO. #28

Closed
kumasento opened this issue Oct 20, 2020 · 1 comment · Fixed by #36
Closed

Test tiling dependent statements in PLUTO. #28

kumasento opened this issue Oct 20, 2020 · 1 comment · Fixed by #36
Labels
bug Something isn't working

Comments

@kumasento
Copy link
Owner

kumasento commented Oct 20, 2020

func @load_store_dep_tiling() {
  %A = alloc() : memref<64x64xf32>

  affine.for %i0 = 1 to 64 {
    affine.for %j0 = 1 to 64 {
      %i1 = affine.apply affine_map<(d0) -> (d0 - 1)>(%i0)
      %j1 = affine.apply affine_map<(d0) -> (d0 - 1)>(%j0)

      %0 = affine.load %A[%i0, %j1] : memref<64x64xf32>
      %1 = affine.load %A[%i1, %j0] : memref<64x64xf32>
      %2 = addf %0, %1 : f32
      affine.store %2, %A[%i0, %j0] : memref<64x64xf32>
    }
  }

  return
}

Pluto seems to be inadequate of processing this type of input: https://groups.google.com/g/pluto-development/c/9mTvz5j5VxE

@kumasento kumasento added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels Oct 20, 2020
@kumasento
Copy link
Owner Author

After forcing Pluto to use ISL dependences calculation, this issue can be resolved.

Now the problem is about handling clast_expr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant