-
Notifications
You must be signed in to change notification settings - Fork 21
algorithms: bounds #320
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
base: main
Are you sure you want to change the base?
algorithms: bounds #320
Conversation
175373c to
f3ac713
Compare
f3ac713 to
e4acc6f
Compare
|
Is this closing any PR? Why is this necessary? Are we matching any API? |
|
Updated description |
gliga
left a comment
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.
Is it sufficient to work only with ints?
|
For some reason tests fails due unknown reason. I couldn't reproduce but on my local machine nor on our local server |
Add lower and upper bound using binary search
Tested for CUDA and OpenMP
API similar to standard
thrust::upper_bound: https://nvidia.github.io/cccl/thrust/api/group__binary__search_1gac85cc9ea00f4bdd8f80ad25fff16741d.htmlSame for
lower_boundOne of the student asked to implement this in order to use it from pykokkos workunits, since they needed this operation in their research