Skip to content

Commit

Permalink
Unify vector op unrolling transformation.
Browse files Browse the repository at this point in the history
Unifies vector op unrolling transformation, by using the same unrolling implementation for contraction and elementwise operations.
Removes fakefork/join operations which are non longer needed now that we have the InsertStridedSlice operation.

PiperOrigin-RevId: 284570784
  • Loading branch information
andydavis1 authored and tensorflower-gardener committed Dec 9, 2019
1 parent ae05cf2 commit 312ccb1
Show file tree
Hide file tree
Showing 3 changed files with 227 additions and 423 deletions.
1 change: 1 addition & 0 deletions mlir/include/mlir/Dialect/VectorOps/VectorOps.td
Expand Up @@ -165,6 +165,7 @@ def Vector_ContractionOp :
static StringRef getParallelIteratorTypeName() {
return "parallel";
}
static unsigned getAccOperandIndex() { return 2; }

// Returns the bounds of each dimension in the iteration space spanned
// by the iterator types of this operation.
Expand Down

0 comments on commit 312ccb1

Please sign in to comment.