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 2ef7576 commit 47ec5d2Copy full SHA for 47ec5d2
mlir/include/mlir/Dialect/Mesh/Interfaces/ShardingInterface.h
@@ -24,8 +24,8 @@ using ShardingArrayRef = ArrayRef<SmallVector<int32_t>>;
24
struct ShardingOption {
25
// An array of int array. The sub-array at the i-th position signifies the
26
// mesh axes the i-th loop will be sharded on.
27
- ShardingArray shardingArray;
28
- SymbolRefAttr cluster;
+ ShardingArray shardingArray = {};
+ SymbolRefAttr cluster = nullptr;
29
// `empty` being true indicates that no sharding information can be inferred
30
// at present. Note that it is different from the case where an operation is
31
// not sharded.
0 commit comments