-
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 Add Sub Mul Max Min Pow binary functors in elementwise system #33050
Merged
Xreki
merged 27 commits into
PaddlePaddle:develop
from
JamesLim-sy:Adding_binary_functor_support
Jun 2, 2021
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
e4d29f3
First Commit.
JamesLim-sy 3f243ed
First Commit.
JamesLim-sy bc12b1b
Debuging the multipler bugs
JamesLim-sy 8290346
Adding Max_Min operators
JamesLim-sy 49c221b
Fixs multipler bugs and supporting Max\Min OPs
JamesLim-sy dd24d12
Fixs multipler bugs and supporting Max\Min OPs
JamesLim-sy 173ee57
Delete the useless codes in elementwise_mul_op.cu
JamesLim-sy 0a7bfef
Delete the useless codes in elementwise_mul_op.cu
JamesLim-sy 07b3797
Delete the useless codes in elementwise_mul_op.cu
JamesLim-sy a16ba39
Merge branch 'Adding_binary_functor_support' of https://github.com/Ja…
JamesLim-sy 9bca0af
Merge broadcast update with OutType template argument.
JamesLim-sy b5182f1
Adjust elementwise-functor location
JamesLim-sy 9d46543
Fisrt commit
JamesLim-sy 74e4179
Trigger of rerun
JamesLim-sy 656ac99
To avoid spartial specification bugs which happened in PR-CI-ROCM
JamesLim-sy 585566f
Avoid kUnary instantiation of LaunchElementwiseCudaKernel at compile …
JamesLim-sy b9c5ea5
refine the warpper of binary ops
JamesLim-sy 25d290e
refine the warpper of binary ops
JamesLim-sy 0e4a011
Fix bugs
JamesLim-sy d9c70ec
refine warpper of broadcast and add cuda op
JamesLim-sy ce5a717
fix bus
JamesLim-sy 950965b
adding pow
JamesLim-sy 1f72b51
adding pow
JamesLim-sy 90a0b29
Merge branch 'Adding_binary_functor_support' of https://github.com/Ja…
JamesLim-sy 5b146cd
Fix header quote sort
JamesLim-sy f5a2ce7
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
JamesLim-sy cd40092
refine warpper
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
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
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
Oops, something went wrong.
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.
不要复制粘贴大段代码,L41 - L70写个函数封装一下。
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.
L41 - L70也可以封装到
PackTensorsIntoVector
函数里面。