Skip to content

Commit 4b12a87

Browse files
ekayaaslancopybara-github
authored andcommitted
Introduce sdy func manual axes.
To be attached to funcs and then for the shardy unflattener to use them. It is to prepare pushing shardy unflattener up past shard map export. PiperOrigin-RevId: 905546069
1 parent 9e4d9b8 commit 4b12a87

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

shardy/dialect/sdy/ir/constants.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ inline const std::string kEmptyMeshSymbol = "empty_mesh";
8686
// Attribute name for the original name of the func before flattening.
8787
inline constexpr llvm::StringRef kOriginalFuncName = "sdy.original_func_name";
8888

89+
// Attribute name for the manual axes on the func.
90+
inline constexpr llvm::StringRef kFuncManualAxes = "sdy.func_manual_axes";
91+
8992
// Attribute name of the main func.
9093
inline constexpr llvm::StringRef kMainFuncName = "main";
9194

0 commit comments

Comments
 (0)