Closed fcharras closed 1 year ago
FYI: I am waiting for #79 to be merged before reviewing this PR.
Ready for review
TY for the reviews @jjerphan @ogrisel I've applied your suggestions (in particular: removed the recursive call) and answered the questions for everything except unit tests, which will come in a future commit.
Added tests for edge cases, and for invalid work group or sub group sizes.
Latest commit aims at addressing the remaining comments.
Why does the test start failing only now ? I guess it would be related to https://github.com/soda-inria/sklearn-numba-dpex/pull/85 that has been merged but this branch doesn't include the change yet ? :thinking:
@fcharras, should we merge main
in the branch of this PR?
Yes, if what's happening is that github runs the tests after merging on main (?), main needs to be merged first so the test can be adjusted.
I'll do it, but was waiting for @ogrisel to finish review.
Feel free to merge main to this branch when you want.
Thanks for review ! That would be really cool if you can open follow-up PRs. :+1:
Follows https://github.com/soda-inria/sklearn-numba-dpex/pull/79
Implements sum over axis 0
It seems that this kernel will be necessary for implementation of topK.