[Mlir-commits] [mlir] mlir::mesh::shardingOp adding shard-size control (PR #98145)
Boian Petkantchin
llvmlistbot at llvm.org
Tue Jul 9 18:55:36 PDT 2024
================
@@ -150,51 +155,98 @@ static LogicalResult verifyMeshAxes(Location loc, ArrayRef<MeshAxis> axes,
template <typename InShape, typename MeshShape, typename SplitAxes,
typename OutShape>
static void shardShape(const InShape &inShape, const MeshShape &meshShape,
- const SplitAxes &splitAxes, OutShape &outShape) {
+ const SplitAxes &splitAxes, OutShape &outShape,
+ ArrayRef<int64_t> shardedDims = {},
----------------
sogartar wrote:
This name is not consistent with other places.
https://github.com/llvm/llvm-project/pull/98145
More information about the Mlir-commits
mailing list