Skip to content

Commit

Permalink
KokkosKernels: Fix for spgemm unit_test mkl macro
Browse files Browse the repository at this point in the history
Address Trilinos issue #3438, incorporates part of fix from
PR kokkos/kokkos-kernels#290
  • Loading branch information
ndellingwood committed Sep 13, 2018
1 parent 802b9e4 commit fd2b7bf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -301,14 +301,14 @@ void test_spgemm(lno_t numRows, size_type nnz, lno_t bandwidth, lno_t row_size_v
case SPGEMM_CUSPARSE:
//TODO: add these test failure cases for cusparse too.
algo = "SPGEMM_CUSPARSE";
#ifndef KERNELS_HAVE_CUSPARSE
#if !defined(KERNELS_HAVE_CUSPARSE) && !defined(KOKKOSKERNELS_ENABLE_TPL_CUSPARSE)
is_expected_to_fail = true;
#endif
break;

case SPGEMM_MKL:
algo = "SPGEMM_MKL";
#ifndef HAVE_KOKKOSKERNELS_MKL
#if !defined(HAVE_KOKKOSKERNELS_MKL) && !defined(KOKKOSKERNELS_ENABLE_TPL_MKL)
is_expected_to_fail = true;
#endif
//MKL requires scalar to be either float or double
Expand Down

0 comments on commit fd2b7bf

Please sign in to comment.