Skip to content
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

C++ version of _solve_direct in BasisInterp #171

Closed
wants to merge 1 commit into from

Conversation

PFLeget
Copy link
Collaborator

@PFLeget PFLeget commented Jul 31, 2024

After discussing with Nate Lust, on accelerating Piff, he basically came to the same conclusion as me and that accelerating PixelGrid + BasisInterp meant accelerating _solve_direct in BasisInterp. As I am not a C++ expert I went through the path of implementing it in JAX in this #166.

Nate already implemented a version in C++ and Eigen that is faster than the pure python implementation even on a single core it looks like. I'll let him push his code on that branch and I'll make the test / unit test to validate the C++ implementation and clean the _solve_direct in regards of the last change I push (see if JAX is still worst it compared to the C++ implementation).

Just putting this as a draft PR for the moment.

Not ready for review.

@rmjarvis
Copy link
Owner

Why is this a PR yet? I get that this is just a draft, but that should normally be reserved for when you are working out CI issues on a mostly completed project. IMO, this should just be a branch you and Nate are working on together, not a PI that other people get notifications for.

@PFLeget
Copy link
Collaborator Author

PFLeget commented Aug 1, 2024

Sorry about that. I had the habit of doing that in my last job. Will avoid doing this in the future.

@PFLeget PFLeget closed this Aug 1, 2024
@PFLeget PFLeget deleted the dev/pleget/add_cpp_in_BasisInterp branch August 1, 2024 01:53
@rmjarvis rmjarvis added this to the No action milestone Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants