-
Notifications
You must be signed in to change notification settings - Fork 5.8k
[Random op]optimize CUDA implementaion of uniform/gaussian OP #38611
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
Merged
zhwesky2010
merged 3 commits into
PaddlePaddle:develop
from
zhwesky2010:uniform_gaussian_v2
Jan 18, 2022
Merged
[Random op]optimize CUDA implementaion of uniform/gaussian OP #38611
zhwesky2010
merged 3 commits into
PaddlePaddle:develop
from
zhwesky2010:uniform_gaussian_v2
Jan 18, 2022
Conversation
This file contains hidden or 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
Thanks for your contribution! |
c1f5d5a
to
3866a1a
Compare
9e2c5e0
to
89fdd6e
Compare
89fdd6e
to
f13bc8e
Compare
f13bc8e
to
c05a4f3
Compare
c05a4f3
to
29d2dac
Compare
29d2dac
to
aeb72fd
Compare
aeb72fd
to
aa938ac
Compare
aa938ac
to
9b512c5
Compare
9b512c5
to
de4c506
Compare
de4c506
to
c628044
Compare
0a5709b
to
d4c167b
Compare
d4c167b
to
e83a597
Compare
e83a597
to
c769b3b
Compare
c769b3b
to
0f99272
Compare
0f99272
to
c82b0f3
Compare
c82b0f3
to
cd87daf
Compare
jeff41404
approved these changes
Jan 18, 2022
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.
LGTM
lanxianghit
approved these changes
Jan 18, 2022
wanghuancoder
approved these changes
Jan 18, 2022
This was referenced Feb 23, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
PR types
New features
PR changes
OPs
Describe
新增
FLAGS_use_curand
,默认关闭。在FLAGS打开的情形下,修改 高斯分布、指数分布 OP 的CUDA随机数生成方式,将thrust库的实现修改为curand库的实现,对OP性能有大幅提升。
基于Nvidia K40显卡测试
这两个OP涉及以下API:
默认情形下对当前OP/API无影响。