-
Notifications
You must be signed in to change notification settings - Fork 19
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
With hypre #751
With hypre #751
Conversation
…ers and openMP offload
…ers and openMP offload
…ers and openMP offload
NOTE: Code currently supports only one precision build of hypre, so the integration is compatible with hypre built in single or double precision only.
This effort enables use of hypre for matrix multiplication and addition on GPUs. It relies on openMP offload to transfer BML data to hypre. NOTE: Current implementation supports NVIDIA GPUs.
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.
Needs to squash commits too
// Done with matrix multiplication. | ||
// Update ellpack C matrix (on device): copy from csr to ellpack format | ||
/* | ||
#pragma omp target data use_device_ptr(csrRowPtrC,csrColIndC,csrValC) |
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.
clean up comments
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.
This commented section is actually what is needed for AMD. I left that in there as a place holder for now. I have updated the comments to reflect this.
…tion in hypre. * This effort enables use of hypre for matrix multiplication and addition on GPUs. * It relies on openMP offload to transfer BML data to hypre. * NOTE: Current implementation supports NVIDIA GPUs. * NOTE: Code currently supports only one precision build of hypre, so the integration is compatible with hypre built in single or double precision only. parent fa390fd author Daniel Osei-Kuffuor <oseikuffuor1@llnl.gov> 1697604624 -0700 committer Daniel Osei-Kuffuor <oseikuffuor1@llnl.gov> 1710920233 -0700
@jeanlucf22 commits have been squashed in commit 4a3445d Thanks. |
Please squash our commits @oseikuffuor1 . |
Still appears like multiple commits in PR |
@jeanlucf22 @nicolasbock the commits are a bit messy now so I will delete this PR and create a new one. |
Closing this PR in favor of PR#752 |
This PR enables integrating hypre into BML to allow BML to access hypre's GPU capable sparse linear algebra routines, particularly, matrix multiplication and matrix addition.