We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1948aa1 commit 47ddd94Copy full SHA for 47ddd94
mlir/lib/Dialect/Shard/Interfaces/ShardingInterface.cpp
@@ -513,8 +513,9 @@ LogicalResult shard::detail::defaultAddShardingAnnotations(
513
}
514
515
#ifndef NDEBUG
516
-static bool isValueCompatibleWithFullReplicationSharding(Value value,
517
- Sharding sharding) {
+static bool
+isValueCompatibleWithFullReplicationSharding(Value value,
518
+ const Sharding &sharding) {
519
if (isa<RankedTensorType>(value.getType())) {
520
return isFullReplication(sharding);
521
0 commit comments