-
Notifications
You must be signed in to change notification settings - Fork 572
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tpetra::CrsMatrix::getLocalDiagCopy (1-arg): Kokkos-ize (Issue #41)
@trilinos/tpetra Partially fix Issue #41 for the one-argument version of getLocalDiagCopy, by Kokkos-parallelizing using the host execution space. We have to use the host execution space for now, because some of the methods we need to call can't yet be marked as CUDA device functions. This fix required replacing calls to CrsMatrix::getView (returns Teuchos::ArrayView, and therefore not thread safe in a debug build) with the new CrsMatrix::getViewRawConst (returns raw pointers, should always be thread safe). Build/Test Cases Summary Enabled Packages: TpetraCore, Ifpack2, Amesos2, Zoltan2, MueLu, Stokhos Disabled Packages: FEI,STK,PyTrilinos,NOX,Teko,Piro 0) MPI_DEBUG => Test case MPI_DEBUG was not run! => Does not affect push readiness! (-1.00 min) 1) SERIAL_RELEASE => Test case SERIAL_RELEASE was not run! => Does not affect push readiness! (-1.00 min) 2) MPI_DEBUG_COMPLEX => passed: passed=275,notpassed=0 (55.42 min) 3) SERIAL_RELEASE => passed: passed=241,notpassed=0 (81.68 min) Other local commits for this build/test group: 3cd960a, 9510811, 5ea4be8
- Loading branch information
Mark Hoemmen
committed
Feb 3, 2016
1 parent
3cd960a
commit 45952b7
Showing
1 changed file
with
72 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters