-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Move remaining \*Sort\* in THC to ATen
#58953
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
Conversation
💊 CI failures summary and remediationsAs of commit ae6475e (more details on the Dr. CI page):
This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.Please report bugs/suggestions to the (internal) Dr. CI Users group. |
|
I'm unsure of what the gymnastics of using a |
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.
One small comment, otherwise looks good, great cleanup!
aten/src/ATen/native/cuda/Sort.cu
Outdated
| if (dir) { \ | ||
| bitonicSortKVInPlace<scalar_t, int64_t, A, -1, \ | ||
| GTComp<scalar_t, true>, TYPE, SIZE> \ | ||
| ThrustGTOp<scalar_t, true>, TYPE, SIZE> \ |
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.
Probably makes sense to rename it to GTComp? There's no thrust around anymore
|
@ngimel has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
|
@ngimel has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Summary: pytorch#24637 CC zasdfgbnm ngimel Pull Request resolved: pytorch#58953 Reviewed By: mrshenli Differential Revision: D28749713 Pulled By: ngimel fbshipit-source-id: 33ce87cf77e23d5d67d193d6368131cb8dab39ae
#24637
CC @zasdfgbnm @ngimel