Skip to content

Commit

Permalink
[Mosaic] Improves error messages for infer vector layout.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 604697612
  • Loading branch information
jax authors committed Feb 6, 2024
1 parent 9a098e9 commit 87d1670
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jaxlib/mosaic/dialect/tpu/transforms/infer_vector_layout.cc
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ class VectorLayoutInferer {
setLayout(op, src_layout, dst_layout);
return success();
}
op.emitOpError("unsupported truncation layout");
return failure();
}

Expand Down Expand Up @@ -494,6 +495,7 @@ class VectorLayoutInferer {
setLayout(op, src_layout, dst_layout);
return success();
}
op.emitOpError("unsupported truncation layout");
return failure();
}

Expand Down

0 comments on commit 87d1670

Please sign in to comment.