Skip to content

Commit

Permalink
Workaround for #1777 - cusparse spgemm test hang
Browse files Browse the repository at this point in the history
Disable issue 1738 test in spgemm, if in cuda 11.0-11.3 and cusparse is enabled.
For some reason (that appears to be a compiler bug?) _other_ spgemm tests hang
after this particular unit test is run.
  • Loading branch information
brian-kelley committed May 2, 2023
1 parent 311157f commit c608593
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions sparse/unit_test/Test_Sparse_spgemm.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,15 @@ void test_issue402() {
template <typename scalar_t, typename lno_t, typename size_type,
typename device>
void test_issue1738() {
#if defined(KOKKOSKERNELS_ENABLE_TPL_CUSPARSE) && (CUDA_VERSION >= 11000) && (CUDA_VERSION < 11040)
{
std::cerr
<< "TEST SKIPPED: See "
"https://github.com/kokkos/kokkos-kernels/issues/1777 for details."
<< std::endl;
return;
}
#endif // KOKKOSKERNELS_ENABLE_TPL_ARMPL
// Make sure that std::invalid_argument is thrown if you:
// - call numeric where an input matrix's entries have changed.
// - try to reuse an spgemm handle by calling symbolic with new input
Expand Down

0 comments on commit c608593

Please sign in to comment.