Skip to content

Commit 8276789

Browse files
superbobryGoogle-ML-Automation
authored andcommitted
[mosaic] Allowed disabling memref shape alignment in the infer-memref-layout pass
PiperOrigin-RevId: 834661848
1 parent 7d9773d commit 8276789

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jaxlib/mosaic/dialect/tpu/tpu_dialect.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ std::pair<bool, bool> mightCommunicateBetweenChips(Operation *op);
7171

7272
std::unique_ptr<OperationPass<func::FuncOp>> createInferMemRefLayoutPass(
7373
int hardware_generation, std::array<int64_t, 2> target_shape,
74-
const TpuTilingFlags& tpu_tiling_flags);
74+
const TpuTilingFlags& tpu_tiling_flags, bool align = true);
7575

7676
std::unique_ptr<OperationPass<func::FuncOp>> createCanonicalizeMosaicPass(
7777
int hardware_generation = -1, bool compatibility_mode = true,

0 commit comments

Comments
 (0)