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

schur complement CUDA global memory random access #13

Open
lanqing30 opened this issue May 25, 2022 · 0 comments
Open

schur complement CUDA global memory random access #13

lanqing30 opened this issue May 25, 2022 · 0 comments

Comments

@lanqing30
Copy link

lanqing30 commented May 25, 2022

Hi,
recently I do some CUDA acceleration of the schur complement in ceres, which compute Hsc matrix from Jacobian matrix.
and I encounter some problem about bad performance of CUDA global memory random access in Hsc matrix.
I read the procedure in this project which perform sparse-sparse matrix multiply part, (something like H_lp'Hpl in this code).
It seems that you pre-calculate some [i, j, k] triplets, which is the addresses of matrix mutiply operations, sort them. and perform small matrix multiplication via cuda kernel function.
I was wondering, is this method also suffer from the bad performance of Hsc matrix memory access? and How to tackle it?

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

No branches or pull requests

1 participant