Skip to content

Commit

Permalink
tpetra: enable SYCL matrix-matrix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cwpearson committed Jul 2, 2024
1 parent 9d8eac7 commit cd82d2d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -393,9 +393,6 @@ TEUCHOS_UNIT_TEST_TEMPLATE_4_DECL (Tpetra_MatMat, FECrsMatrix, SC, LO, GO, NT)

TPETRA_ETI_MANGLING_TYPEDEFS()

// FIXME_SYCL
#ifndef KOKKOS_ENABLE_SYCL
TPETRA_INSTANTIATE_SLGN_NO_ORDINAL_SCALAR( UNIT_TEST_GROUP_SC_LO_GO_NO )
#endif

} // anonymous namespace
Original file line number Diff line number Diff line change
Expand Up @@ -2846,17 +2846,9 @@ TEUCHOS_UNIT_TEST_TEMPLATE_4_DECL(Tpetra_MatMatAdd, locally_unsorted, SC, LO, GO
TEUCHOS_UNIT_TEST_TEMPLATE_4_INSTANT(Tpetra_MatMatAdd, different_index_base, SC, LO, GO, NT) \
TEUCHOS_UNIT_TEST_TEMPLATE_4_INSTANT(Tpetra_MatMatMult, BlockCrsMult, SC, LO, GO, NT)

// FIXME_SYCL requires querying free device memory in KokkosKernels, see
// https://github.com/kokkos/kokkos-kernels/issues/1062.
// The SYCL specifications don't allow asking for that.
#ifdef HAVE_TPETRA_SYCL
#define UNIT_TEST_GROUP_SC_LO_GO_NO( SC, LO, GO, NT ) \
UNIT_TEST_GROUP_SC_LO_GO_NO_COMMON( SC, LO, GO, NT )
#else
#define UNIT_TEST_GROUP_SC_LO_GO_NO( SC, LO, GO, NT ) \
#define UNIT_TEST_GROUP_SC_LO_GO_NO( SC, LO, GO, NT ) \
TEUCHOS_UNIT_TEST_TEMPLATE_4_INSTANT(Tpetra_MatMat, operations_test,SC, LO, GO, NT) \
UNIT_TEST_GROUP_SC_LO_GO_NO_COMMON( SC, LO, GO, NT )
#endif

TPETRA_ETI_MANGLING_TYPEDEFS()

Expand Down

0 comments on commit cd82d2d

Please sign in to comment.