-
Notifications
You must be signed in to change notification settings - Fork 175
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
Feat 565 remove redundant thrust dialect conditional #566
Feat 565 remove redundant thrust dialect conditional #566
Conversation
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.
Great work 😸
I had some minor comments about replacing now unneeded macros.
/ok to test |
Co-authored-by: Michael Schellenberger Costa <miscco@nvidia.com>
Co-authored-by: Michael Schellenberger Costa <miscco@nvidia.com>
…K/cccl into feat-565-remove-thrust-conditional
/ok to test |
I believe you need to replace those macros like |
I believe something went wrong here and you somehow added your sccache cache to the repository |
…K/cccl into feat-565-remove-thrust-conditional
/ok to test |
/okay to test |
/ok to test |
@ZelboK thanks a lot for working on this. This is definitely ready to merge. That said, we are currently in the process of releasing 2.3.x and we would like to wait for that to be done, as this PR could potentially create a lot of merge conflicts |
@@ -18,8 +18,7 @@ | |||
#endif // no system header | |||
#include <thrust/detail/cpp11_required.h> | |||
#include <thrust/detail/modern_gcc_required.h> | |||
|
|||
#if _CCCL_STD_VER >= 2011 && !defined(THRUST_LEGACY_GCC) | |||
#if !defined(THRUST_LEGACY_GCC) |
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.
Correct me if im wrong but is there another macro for this one?
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.
Nope, but that is fine
@jrhemstad I looked over teh PR, I think this should be ready. Could use another set of 👀 Edit: I don't know why, but the UI on github isn't showing all my commits. I pushed my changes and it's missing a commit. main...ZelboK:cccl:feat-565-remove-thrust-conditional They are shown there though. |
/ok to test |
@miscco Do I need to do anything from my end? Should be good to go? |
@ZelboK we just have to wait for Ci to pass |
Pull Request is not mergeable
Thanks a lot for keeping the codebase up to date 🎉 |
Currently there is wide use of
THRUST_CPP_DIALECT >= 2011
through out the codebase. This conditional always leads to true, so it can be safely removed.