Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge JUST-series macros between oneflow/core/common and oneflow/maybe #10274

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

PragmaTwice
Copy link
Contributor

Since JUST macros in oneflow/maybe can be more customizable and modular, we can replace JUST macros in oneflow/core/common with these in oneflow/maybe, so that all infra in oneflow/maybe can be introduced to the codebase without naming conflict. And it is also the first step to replace all old maybe infra (TODO: maybe a tracking issue is needed).

@PragmaTwice PragmaTwice marked this pull request as ready for review May 18, 2023 08:01

} // namespace oneflow::maybe

#define TRY(...) JUST_STACK_CHECK_I(__VA_ARGS__)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

考虑为这个宏写一些注释?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我其实不太理解这个宏,这是 xinqi 加的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants