Skip to content

Commit

Permalink
Merge pull request #904 from xmos/opsplit_fakeslice
Browse files Browse the repository at this point in the history
Add support for overlapping with second operand of an overlappable op
  • Loading branch information
panickal-xmos authored Aug 1, 2024
2 parents a2f47ce + ca062b4 commit 08258e4
Show file tree
Hide file tree
Showing 5 changed files with 427 additions and 251 deletions.
10 changes: 10 additions & 0 deletions xformer/IR/XCoreOps.td
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,16 @@ def XC_SliceOp : XC_Op<"slice", [Pure]> {
let results = (outs TensorOf<[QI8, QI16, F32, I8, I32]> : $output);
}

def XC_FakeSliceOp : XC_Op<"fake_slice", [Pure]> {
let summary = "Fake slice op";

let description = [{Fake slice op.}];

let arguments = (ins AnyTensor : $input);

let results = (outs AnyTensor : $output);
}

def XC_BroadcastOp : XC_Op<"broadcast", [Pure]> {
let summary = "Broadcast op";

Expand Down
Loading

0 comments on commit 08258e4

Please sign in to comment.