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

unexpected performance for SpMV operation #140

Open
rohany opened this issue Feb 2, 2022 · 1 comment
Open

unexpected performance for SpMV operation #140

rohany opened this issue Feb 2, 2022 · 1 comment

Comments

@rohany
Copy link
Contributor

rohany commented Feb 2, 2022

I'm running some CTF SpMV kernels using the contraction interface (a["i"] = B["ij"] * c["j"]), and I'm seeing performance that is nearly 2 orders of magnitude slower than systems like PETSc and Trilinos on large matrices from the suitesparse collection (such as the arabic-2005 graph). I know I've asked similar questions to this before, but I was wondering if such a discrepancy is expected, or if there is a specialized kernel available in CTF for the SpMV operation. I believe I've configured CTF correctly for my system, but I'm happy to share the configuration logs to double check.

cc @solomonik

@raghavendrak
Copy link
Collaborator

CTF treats vectors no different from tensors, and the code has to account for generalized redistribution and storage format. We did use specialized code to handle vectors without overheads in a different project, and found the performance gains to be quite significant. We will integrate this into CTF soon, and tag here when it is done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants