Skip to content

Commit 17e5b94

Browse files
naummoGoogle-ML-Automation
authored andcommitted
[Mosaic][SC] Add custom assembly format to tpu.enqueue_indirect_dma
PiperOrigin-RevId: 786844207
1 parent 0745829 commit 17e5b94

File tree

1 file changed

+3
-0
lines changed
  • jaxlib/mosaic/dialect/tpu

1 file changed

+3
-0
lines changed

jaxlib/mosaic/dialect/tpu/tpu.td

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -903,6 +903,9 @@ def TPU_EnqueueIndirectDMAOp : TPU_Op<"enqueue_indirect_dma">, IndirectDMAOp {
903903
Optional<I32>:$offset_filter,
904904
DefaultValuedAttr<BoolAttr, "false">:$add
905905
);
906+
let assemblyFormat = [{
907+
$source `to` $target `at` $offsets `,` `semaphore` $semaphore (`offset_filter` $offset_filter^)? attr-dict `:` type($source) `,` type($target) `,` type($offsets) `,` type($semaphore)
908+
}];
906909
let hasVerifier = 1;
907910
let extraClassDeclaration = extraBaseClassDeclaration # [{
908911
LogicalResult verifyGather(MemRefType operand_ty,

0 commit comments

Comments
 (0)