-
Notifications
You must be signed in to change notification settings - Fork 139
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
Enable more algorithms for internal use #1432
Conversation
3607c43
to
3716ea7
Compare
…to their own files
62ebb34
to
ca11f12
Compare
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.
Other than in the last commit with INPUT_DATA
, is there anything funky you needed to do in tests? I have only skimmed them in the commits that added them, assuming that it's generally just copy them from upstream and slap some host/device on functions.
If there is anything funky, I'd like to take a look at it, but otherwise this looks good to me.
I did restructure them a bit so that we always have the pattern test();
static_assert(test()); Besides that the only larger change is replacing all lambdas with structs |
This ports more algorithms to be usable internally.
This currently covers all algorithms except sorting and the allocating ones.
To support more users all algorithms are made available in C++11 and also constexpr from C++14 onwards
Note that we currently do not expose
cuda/std/algorithm>
so this has no effect on product code but is an enablement for future work