-
Notifications
You must be signed in to change notification settings - Fork 578
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
KokkosKernels,Tpetra: Plug in TPLs (MKL, cuSPARSE, ...) for sparse matrix-matrix multiply #430
Comments
@csiefer2 discovered possible bugs in MKL's sparse matrix-matrix multiply, for the case of empty rows and/or columns in the input matrices. This suggests that we should avoid relying on MKL for this critical kernel. |
@mhoemmen - can you provide a small reproducer so we can file a bug report? |
@csiefer2, would you happen to know what matrices didn't work with MKL's implementation? |
Note that KokkosKernel SpGEMM is anyway faster than MKL (except when using small number of threads and there is no reuse of structure). So we might not rely on it anyway. |
In the long run, we want MKL to work well. If it’s not too much work, it would be good to provide them a test case, or at least mention this result to them. We want their kernels to be fast, so there is less work for us.
From: Siva Rajamanickam <[email protected]>
Reply-To: trilinos/Trilinos <[email protected]>
Date: Monday, December 5, 2016 at 8:45 PM
To: trilinos/Trilinos <[email protected]>
Subject: [EXTERNAL] Re: [trilinos/Trilinos] KokkosKernels,Tpetra: Plug in TPLs (MKL, cuSPARSE, ...) for sparse matrix-matrix multiply (#430)
Note that KokkosKernel SpGEMM is anyway faster than MKL (except when using small number of threads and there is no reuse of structure). So we might not rely on it anyway.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#430 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AA-USyEssxDYMTxWWUwdC4Xu9yKedqXjks5rFNp2gaJpZM4IyYlR>.
|
I just heard from @csiefer2 today about this. I know his time is limited this fiscal year, so if he finds something, he should feel welcome just to point out the example (e.g., test number or matrix file) and put the rest of us to work in helping him turn that into a test case for MKL. |
Mehmet already has a lists of problems where MKL doesn't work. |
@mndevec , would you happen to have some matrices that are known to fail with MKL? Thanks! |
@mhoemmen |
@mndevec please can you supply these so we can file an issue with Intel? |
@mndevec wrote:
Wow ;-P |
@nmhamster |
By the way, I am using inspector executor with the function: mkl_sparse_spmm. |
This issue has had no activity for 365 days and is marked for closure. It will be closed after an additional 30 days of inactivity. |
This issue was closed due to inactivity for 395 days. |
@trilinos/tpetra @trilinos/muelu @mndevec @csiefer2
See #147 for discussion.
Depends on #148 (otherwise we can't plug in a local kernel).
Depends on #415 (MKL sparse matrix-matrix multiply wants to own deallocation of the result matrix's arrays, so Kokkos can't own them; deallocation has to happen in the handle)
The text was updated successfully, but these errors were encountered: