KokkosKernels & Tetra fixes for KOKKOS_ENABLE_DEBUG
Created by: ibaned
@trilinos/tpetra @trilinos/kokkos @trilinos/kokkos-kernels
Description
This fixes the remaining issues with a Trilinos build of the Tpetra stack that has Kokkos bounds checking enabled. There was an off-by-one error when constructing subviews to supply as begin/end arrays. Also, the dgemm_double
test is very slow with bounds checking on, so until it is modified such that it runs faster, I've added code to disable it when bounds checking is on.
Motivation and Context
This helps Trilinos pass all tests with Kokkos bounds checking enabled, with is an ATDM goal.
Related Issues
- Part of #2439 (closed)
How Has This Been Tested?
A custom build of Trilinos passes the tests which formerly failed as identified by #2439 (closed)