MLIR  20.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
mlir::mesh::ShardingOption Struct Reference

#include "mlir/Dialect/Mesh/Interfaces/ShardingInterface.h"

Public Member Functions

 ShardingOption ()=default
 
 ShardingOption (ShardingArray shardingArray, FlatSymbolRefAttr mesh)
 

Static Public Member Functions

static ShardingOption makeEmpty ()
 

Public Attributes

ShardingArray shardingArray = {}
 
FlatSymbolRefAttr mesh = nullptr
 
bool empty = false
 

Detailed Description

Definition at line 28 of file ShardingInterface.h.

Constructor & Destructor Documentation

◆ ShardingOption() [1/2]

mlir::mesh::ShardingOption::ShardingOption ( )
default

Referenced by makeEmpty().

◆ ShardingOption() [2/2]

mlir::mesh::ShardingOption::ShardingOption ( ShardingArray  shardingArray,
FlatSymbolRefAttr  mesh 
)
inline

Definition at line 38 of file ShardingInterface.h.

Member Function Documentation

◆ makeEmpty()

static ShardingOption mlir::mesh::ShardingOption::makeEmpty ( )
inlinestatic

Definition at line 40 of file ShardingInterface.h.

References ShardingOption().

Referenced by selectShardingOption().

Member Data Documentation

◆ empty

bool mlir::mesh::ShardingOption::empty = false

◆ mesh

FlatSymbolRefAttr mlir::mesh::ShardingOption::mesh = nullptr

◆ shardingArray

ShardingArray mlir::mesh::ShardingOption::shardingArray = {}

The documentation for this struct was generated from the following file: