-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Support multi-outputs feature for broadcast ops #38329
Merged
JamesLim-sy
merged 11 commits into
PaddlePaddle:develop
from
JamesLim-sy:support_multi-output_for_broadcast
Dec 27, 2021
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
ffccae7
No harm to KP
JamesLim-sy 3e29d51
Pass the compile stage
JamesLim-sy 153846d
change the WriteData function
JamesLim-sy 4ec09b1
fix template bugs and pass ctest of current elementwise
JamesLim-sy 6032c4e
for passing partial template specialization of tempalte function in C…
JamesLim-sy 3eb6c63
To make 'WriteData' funtion flexible.
JamesLim-sy 31b0da0
a less harmful way to support multi-output
JamesLim-sy ad979a5
a less harmful way to support multi-output
JamesLim-sy 81be8ed
a less harmful way for multi=output feature support
JamesLim-sy af1a118
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
JamesLim-sy e871094
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
JamesLim-sy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
constexpr 有性能影响吗 (c++14 支持) ?理论上 const 编译器也会在编译时计算
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个修改是从读代码的角度出发的,切换成
constexpr
的话,可以显式认定是编译期计算